Skip to content

Commit

Permalink
no dashes in build number
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Cassidy <[email protected]>
  • Loading branch information
stevecassidy committed Jun 2, 2024
1 parent 8fb6afa commit 5757327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/App/Scripts/get_build_number.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
PROJECT_DIR=$SCRIPT_DIR/../../../

version=$(grep '"version":' $PROJECT_DIR/package.json | cut -d: -f 2 | sed -e 's/[", ]//g')
buildNumber=$(date -u "+%Y-%m-%d-%H-%M")
buildNumber=$(date -u "+%Y%m%d%H%M")

/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "App/Info.plist"
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $version" "App/Info.plist"

0 comments on commit 5757327

Please sign in to comment.