feat: close release ticket from tag
This commit is contained in:
parent
fa37caccd3
commit
3a7fdc3453
1 changed files with 5 additions and 3 deletions
|
@ -22,9 +22,11 @@ jobs:
|
||||||
chmod +x tea
|
chmod +x tea
|
||||||
./tea login add --url ${{ github.server_url }} --token ${{ github.token }}
|
./tea login add --url ${{ github.server_url }} --token ${{ github.token }}
|
||||||
|
|
||||||
./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref_name }}' | awk '{print $1}' > release-ticket-id
|
- name: cache release ticket id
|
||||||
|
shell: bash
|
||||||
|
run: ./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref_name }}' | awk '{print $1}' > release-ticket-id
|
||||||
|
|
||||||
- name: comment tag start
|
- name: comment & close
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
./tea comment $(cat release-ticket-id) "Start tag"
|
./tea comment $(cat release-ticket-id) "Start tag"
|
||||||
|
|
Loading…
Add table
Reference in a new issue