forked from cory/tildefriends
ios: Now with more sed.
This commit is contained in:
parent
8f4b6e83eb
commit
f02423d084
@ -914,9 +914,9 @@ src/ios/Info.plist : $(firstword $(MAKEFILE_LIST))
|
|||||||
@echo "[ios_version] $@"
|
@echo "[ios_version] $@"
|
||||||
@cat $@ | \
|
@cat $@ | \
|
||||||
tr '\n' '^' | \
|
tr '\n' '^' | \
|
||||||
sed -r -e 's@(<key>CFBundleShortVersionString</key>\s*<string>)[0-9.]*(</string>)@\1$(VERSION_NUMBER)\2@' | \
|
sed -r -e 's@(<key>CFBundleShortVersionString</key>\^[[:space:]]*<string>)[0-9.]*(</string>)@\1$(VERSION_NUMBER:%-wip=%)\2@' | \
|
||||||
tr '^' '\n' > \
|
tr '^' '\n' > \
|
||||||
$@
|
$@.tmp && mv $@.tmp $@ || rm -f $@.tmp
|
||||||
|
|
||||||
##
|
##
|
||||||
## 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>0.0.28-wip</string>
|
<string>0.0.28</string>
|
||||||
<key>CFBundleSupportedPlatforms</key>
|
<key>CFBundleSupportedPlatforms</key>
|
||||||
<array>
|
<array>
|
||||||
<string>iPhoneOS</string>
|
<string>iPhoneOS</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user