From 15f2450f8bd763b78c717a4d576373f95c8119e2 Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Fri, 23 Feb 2024 00:57:23 +0100 Subject: [PATCH] Fix tag calculation --- .github/workflows/tag_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tag_release.yml b/.github/workflows/tag_release.yml index 8abc0fb7df..c0618b1ab5 100644 --- a/.github/workflows/tag_release.yml +++ b/.github/workflows/tag_release.yml @@ -119,9 +119,9 @@ jobs: run: | # We want to always use the long tag (x.y.z-N) in Asana communication if [[ ${prerelase} == "true" ]]; then - echo "TAG=$PROMOTED_TAG" >> $GITHUB_ENV - else echo "TAG=$TAG" >> $GITHUB_ENV + else + echo "TAG=$PROMOTED_TAG" >> $GITHUB_ENV fi echo "WORKFLOW_URL=https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> $GITHUB_ENV echo "DMG_URL=${{ vars.TEST_DMG_URL_ROOT }}duckduckgo-${TAG//-/.}.dmg" >> $GITHUB_ENV