fix: debugging

This commit is contained in:
Oliver Lippert 2024-02-02 00:26:52 +01:00
parent 91f4058f5c
commit 7c75411590
Signed by: oliver
GPG key ID: 4AE99C459BC7D2B3

View file

@ -21,11 +21,23 @@ 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 'Release ${{ github.ref }}' | awk '{print $1}')
echo ${RELEASE_TICKET_ID} - name: debug 1
shell: bash
run: ./tea i ls --fields index,title --output simple
- name: debug 2
shell: bash
run: ./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref }}'
- name: debug 3
shell: bash
run: ./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref }}' | awk '{print $1}'
- name: comment tag start - name: comment tag start
shell: bash shell: bash
run: | run: |
export RELEASE_TICKET_ID=$(./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref }}' | awk '{print $1}')
./tea comment ${RELEASE_TICKET_ID} "Start tag" ./tea comment ${RELEASE_TICKET_ID} "Start tag"
./tea issues close ${{ github.event.issue.number }} ./tea issues close ${{ github.event.issue.number }}