diff --git a/scripts/set_version_number.sh b/scripts/set_version_number.sh index 4d71931c7..e9868a648 100755 --- a/scripts/set_version_number.sh +++ b/scripts/set_version_number.sh @@ -2,19 +2,20 @@ # Abort on Error set -e -set -x cd Monal echo "" echo "***************************************************" -echo "* Setting buildNumber to $buildNumber and version to $version *" +echo "* Setting buildNumber to $buildNumber and version to $buildVersion *" echo "***************************************************" +set -x + /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "NotificationService/Info.plist" /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "shareSheet-iOS/Info.plist" /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "$APP_NAME-Info.plist" -/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $version" "NotificationService/Info.plist" -/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $version" "shareSheet-iOS/Info.plist" -/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $version" "$APP_NAME-Info.plist" +/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $buildVersion" "NotificationService/Info.plist" +/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $buildVersion" "shareSheet-iOS/Info.plist" +/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $buildVersion" "$APP_NAME-Info.plist"