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)"/' \
|
-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:
|
## Android targets:
|
||||||
##
|
##
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>1.0</string>
|
<string>0.0.28-wip</string>
|
||||||
<key>CFBundleSupportedPlatforms</key>
|
<key>CFBundleSupportedPlatforms</key>
|
||||||
<array>
|
<array>
|
||||||
<string>iPhoneOS</string>
|
<string>iPhoneOS</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user