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] $@"
|
||||
@cat $@ | \
|
||||
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' > \
|
||||
$@
|
||||
$@.tmp && mv $@.tmp $@ || rm -f $@.tmp
|
||||
|
||||
##
|
||||
## Android targets:
|
||||
|
@ -13,7 +13,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.0.28-wip</string>
|
||||
<string>0.0.28</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>iPhoneOS</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user