6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit b2ed7001
Changed files
azure/templates/build-ios.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Diff
diff --git a/azure/templates/build-ios.yml b/azure/templates/build-ios.yml
index 8388b393..b7ebf2cc 100644
--- a/azure/templates/build-ios.yml
+++ b/azure/templates/build-ios.yml
@@ -46,8 +46,9 @@ steps:
- script: |
git=$(sh /etc/profile; which git)
bundleVersion=$("$git" log --pretty=oneline HEAD^@ |wc -l)
- /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $bundleVersion" "ios/Runner/Info.plist"
- echo "Updated build number in ios/Runner/Info.plist to $bundleVersion"
+ offsetBuildNumber=$((bundleVersion+4520))
+ /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $offsetBuildNumber" "ios/Runner/Info.plist"
+ echo "Updated build number in ios/Runner/Info.plist to $offsetBuildNumber"
displayName: "Update build number"