fix: use github ref to find release ticket

This commit is contained in:
Oliver Lippert 2024-02-01 15:34:46 +01:00
parent 47e7a16b4d
commit 0d3a5ece6f
Signed by: oliver
GPG key ID: 4AE99C459BC7D2B3

View file

@ -20,7 +20,7 @@ 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 }}
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} echo ${RELEASE_TICKET_ID}
- name: comment tag start - name: comment tag start