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

This commit is contained in:
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:
##