From 7d8ab7245f7b3d8aac4cbc6788df918a6dc1d1cc Mon Sep 17 00:00:00 2001 From: Will Kelly <67284402+wkelly17@users.noreply.github.com> Date: Tue, 25 Feb 2025 11:35:31 -0600 Subject: [PATCH] add ability to force a non tagged build using store creds to test through testflight --- .github/workflows/mac_store_build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mac_store_build.yml b/.github/workflows/mac_store_build.yml index 6358ee6b65..2f2d09cbf3 100644 --- a/.github/workflows/mac_store_build.yml +++ b/.github/workflows/mac_store_build.yml @@ -15,12 +15,13 @@ on: inputs: buildTarget: type: choice - description: Whether to build for dev testing of pkg or for production store build + description: Whether to build for dev testing of pkg or for production store build. Store Forced builds for store but bypasses the tag check (for if you want to distribute a testflight build) required: true default: store options: - dev - store + - storeForced jobs: set-env-vars: @@ -34,14 +35,14 @@ jobs: with: input_string: ${{ env.CI_REF_NAME }} version_extractor_regex: "v(.*)$" - if: contains( github.ref, 'refs/tags/v' ) + if: contains( github.ref, 'refs/tags/v' ) || inputs.buildTarget == 'storeForced' - 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') + if: contains( github.ref, 'refs/tags/v') || inputs.buildTarget == 'storeForced' - name: set version var for not-tags and upload dir for branches if: ${{ steps.tagged.outcome == 'skipped' }} run: |