ios: Might as well generate the CFBundleShortVersionString from that other version.

This commit is contained in:
Cory McWilliams 2025-02-18 20:58:16 -05:00
parent ac67db0591
commit 3029919553
2 changed files with 7 additions and 1 deletions

View File

@ -910,6 +910,12 @@ src/android/AndroidManifest.xml : $(firstword $(MAKEFILE_LIST))
-e 's/android:targetSdkVersion="[[:digit:]]*"/android:targetSdkVersion="$(ANDROID_TARGET_SDK_VERSION)"/' \
$@
src/ios/Info.plist : $(firstword $(MAKEFILE_LIST))
@echo "[ios_version] $@"
@sed -z -r -i \
-e 's@(<key>CFBundleShortVersionString</key>\s*<string>)[0-9.]*(</string>)@\1$(VERSION_NUMBER)\2@' \
$@
##
## Android targets:
##

View File

@ -13,7 +13,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>0.0.28-wip</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>