diff --git a/CHANGELOG.md b/CHANGELOG.md index 847c1ba..ae237b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased] +* Fix `bump-version` script to save `CFBundleVersion` as a string (not a number) in `Info.plist`. (Fixes #74.) + ## [2.0.4][] * Fix a compiler warning new to Xcode 8.3. diff --git a/Utilities/bump-version b/Utilities/bump-version index 45b66aa..d11486b 100755 --- a/Utilities/bump-version +++ b/Utilities/bump-version @@ -112,7 +112,7 @@ def git_tag(next_version): def update_info_plist(next_version): plist = plistlib.readPlist(INFOPLIST_PATH) plist['CFBundleShortVersionString'] = unicode(next_version) - plist['CFBundleVersion'] = next_version.bundle + plist['CFBundleVersion'] = str(next_version.bundle) plistlib.writePlist(plist, INFOPLIST_PATH)