Strip the useless build number from the tag (#73)

This commit is contained in:
Nate Brown 2022-10-03 17:45:56 -05:00 committed by GitHub
parent dabca6dd32
commit 562e715a9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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: