Skip to content

Commit

Permalink
Save CFBundleVersion as a string when bumping.
Browse files Browse the repository at this point in the history
Fixes nolanw#74.
  • Loading branch information
nolanw committed Apr 4, 2017
1 parent b60bd5f commit 3d58655
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Utilities/bump-version
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 3d58655

Please sign in to comment.