mirror of
https://github.com/gosticks/PiPer.git
synced 2025-10-16 11:55:42 +00:00
Fixed automatic versioning bug
Fixed bug where unnecessary new lines are added to update.plist
This commit is contained in:
parent
d7455eb21c
commit
cd5ea2e58d
2
make.sh
2
make.sh
@ -151,7 +151,7 @@ if [[ "${update_version}" -eq 1 ]]; then
|
||||
# Helper performs multiline sed regular expression
|
||||
function multiline_sed_regex() {
|
||||
mv "$1" "$1.bak"
|
||||
cat "$1.bak" | tr "\n" "\f" | sed -E "$2" | tr "\f" "\n" > "$1"
|
||||
echo -n "$(cat "$1.bak")" | tr "\n" "\f" | sed -E "$2" | tr "\f" "\n" > "$1"
|
||||
rm -rf "$1.bak"
|
||||
}
|
||||
fi
|
||||
|
||||
Binary file not shown.
10
update.plist
10
update.plist
@ -10,7 +10,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string></string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>153</string>
|
||||
<string>155</string>
|
||||
<key>Developer Identifier</key>
|
||||
<string>BQ6Q24MF9X</string>
|
||||
<key>URL</key>
|
||||
@ -21,11 +21,3 @@
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user