From bc6020d94a33e8d8873f1484af55f29ccd4cdde6 Mon Sep 17 00:00:00 2001 From: Oliver Lippert Date: Fri, 2 Feb 2024 00:37:04 +0100 Subject: [PATCH] fix: remove debugging --- .gitea/workflows/tag.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.gitea/workflows/tag.yml b/.gitea/workflows/tag.yml index dde7651..db6f7b1 100644 --- a/.gitea/workflows/tag.yml +++ b/.gitea/workflows/tag.yml @@ -21,27 +21,11 @@ jobs: mv tea* tea chmod +x tea ./tea login add --url ${{ github.server_url }} --token ${{ github.token }} - - - name: debug 1 - shell: bash - run: echo 'Release ${{ github.ref_name }}' - - - name: debug 2 - shell: bash - run: ./tea i ls --fields index,title --output simple - - - name: debug 3 - shell: bash - run: ./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref_name }}' - - - name: debug 4 - shell: bash - run: ./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref_name }}' | awk '{print $1}' + + export RELEASE_TICKET_ID=$(./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref_name }}' | awk '{print $1}') - name: comment tag start shell: bash run: | - export RELEASE_TICKET_ID=$(./tea i ls --fields index,title --output simple | grep 'Release ${{ github.ref_name }}' | awk '{print $1}') - ./tea comment ${RELEASE_TICKET_ID} "Start tag" - ./tea issues close ${{ github.event.issue.number }} + ./tea issues close ${RELEASE_TICKET_ID}