fix: write release ticket id to tmp file
This commit is contained in:
parent
b166837cb0
commit
9758968361
1 changed files with 3 additions and 3 deletions
|
@ -22,10 +22,10 @@ jobs:
|
|||
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 'Release ${{ github.ref_name }}' | awk '{print $1}')
|
||||
./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref_name }}' | awk '{print $1}' > release-ticket-id
|
||||
|
||||
- name: comment tag start
|
||||
shell: bash
|
||||
run: |
|
||||
./tea comment ${RELEASE_TICKET_ID} "Start tag"
|
||||
./tea issues close ${RELEASE_TICKET_ID}
|
||||
./tea comment $(cat release-ticket-id) "Start tag"
|
||||
./tea issues close $(cat release-ticket-id)
|
||||
|
|
Loading…
Add table
Reference in a new issue