Fixed automatic versioning bug

Fixed bug where unnecessary new lines are added to update.plist
This commit is contained in:
amarcu5 2018-09-11 14:21:01 +01:00
parent d7455eb21c
commit cd5ea2e58d
3 changed files with 2 additions and 10 deletions

View File

@ -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.

View File

@ -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>