From cbc61e1a589cc4c6929c540d237282ff041004c9 Mon Sep 17 00:00:00 2001 From: Will Kelly <67284402+wkelly17@users.noreply.github.com> Date: Tue, 7 Jan 2025 13:36:29 -0600 Subject: [PATCH] one more edit --- .github/workflows/mac_store_build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mac_store_build.yml b/.github/workflows/mac_store_build.yml index 54470ada1c..5681e53ec2 100644 --- a/.github/workflows/mac_store_build.yml +++ b/.github/workflows/mac_store_build.yml @@ -13,7 +13,14 @@ jobs: input_string: ${{ env.CI_REF_NAME }} version_extractor_regex: "v(.*)$" if: contains( github.ref, 'refs/tags/v' ) - # todo: delete this job once i know it works + - name: set version var for tags and update path for releases + id: tagged + run: | + echo "GHA_VERSION=${{ steps.semver_parser.outputs.fullversion }}" >> $GITHUB_ENV && \ + echo "UPDATE_PATH=release" >> $GITHUB_ENV && \ + echo "PRERELEASE_BOOL=false" >> $GITHUB_ENV + if: contains( github.ref, 'refs/tags/v' ) + # todo: delete this not-tags job once i know it works - name: set version var for not-tags and upload dir for branches run: | echo "GHA_VERSION=$(cat VERSION)" >> $GITHUB_ENV && \ @@ -33,6 +40,7 @@ jobs: UPDATE_PATH: ${{ steps.output_env_vars_step.outputs.UPDATE_PATH }} PRERELEASE_BOOL: ${{ steps.output_env_vars_step.outputs.PRERELEASE_BOOL }} S3_DESTINATION: ${{ steps.output_env_vars_step.outputs.S3_DESTINATION }} + IS_RELEASE: ${{ steps.tagged.outcome != 'skipped' }} build: runs-on: ubuntu-20.04