fix: use github ref to find release ticket
This commit is contained in:
parent
47e7a16b4d
commit
0d3a5ece6f
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ jobs:
|
|||
mv tea* tea
|
||||
chmod +x tea
|
||||
./tea login add --url ${{ github.server_url }} --token ${{ github.token }}
|
||||
export RELEASE_TICKET_ID=$(tea i ls --fields index,title --output simple | grep test | awk '{print $1}')
|
||||
export RELEASE_TICKET_ID=$(tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref }}' | awk '{print $1}')
|
||||
echo ${RELEASE_TICKET_ID}
|
||||
|
||||
- name: comment tag start
|
||||
|
|
Loading…
Add table
Reference in a new issue