Strip the useless build number from the tag (#73)
This commit is contained in:
parent
dabca6dd32
commit
562e715a9a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue