forked from cory/tildefriends
ios: Might as well generate the CFBundleShortVersionString from that other version.
This commit is contained in:
parent
ac67db0591
commit
3029919553
@ -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:
|
||||
##
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user