Commit c1117d0a authored by Soomin Lee's avatar Soomin Lee Committed by Carola Nitz

Fastlane: version: Strip bundle version

This removes newline at the end of the bundle version
parent 8aca1b98
......@@ -8,5 +8,5 @@ end
def increment_build_number_in_plist(plist_path)
build_number = `xcrun /usr/libexec/PlistBuddy -c "Print CFBundleVersion" "#{plist_path}"`
`/usr/libexec/PlistBuddy -c "Set :CFBundleVersion #{build_number.next}" "#{plist_path}"`
`/usr/libexec/PlistBuddy -c "Set :CFBundleVersion #{build_number.next.strip()}" "#{plist_path}"`
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment