From 562e715a9a15bc20aaa254f692ad27e4b4fe466e Mon Sep 17 00:00:00 2001 From: Nate Brown Date: Mon, 3 Oct 2022 17:45:56 -0500 Subject: [PATCH] Strip the useless build number from the tag (#73) --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4142cb9..48443ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,7 +75,9 @@ jobs: cd android fastlane release_build_number echo "BUILD_NUMBER=$(cat ../release_build_number)" >> $GITHUB_ENV - echo "BUILD_NAME=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV + BUILD_NAME="${GITHUB_REF#refs/tags/v}" # strip the front refs/tags/v off + BUILD_NAME="${BUILD_NAME%-*}" # strip the junk build number off + echo "BUILD_NAME=$BUILD_NAME" >> $GITHUB_ENV - name: Build iOS env: