feat: close release ticket from tag

This commit is contained in:
Oliver Lippert 2024-02-02 00:46:09 +01:00
parent fa37caccd3
commit 3a7fdc3453
Signed by: oliver
GPG key ID: 4AE99C459BC7D2B3

View file

@ -21,10 +21,12 @@ jobs:
mv tea* tea mv tea* tea
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: comment tag start - 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 & close
shell: bash shell: bash
run: | run: |
./tea comment $(cat release-ticket-id) "Start tag" ./tea comment $(cat release-ticket-id) "Start tag"