2
0

Try and see if I can convince Apple to allow me to go back to a sane CFBundleVersion.

This commit is contained in:
Maarten Billemont 2015-11-06 01:39:32 -05:00
parent 2aa7d33f7a
commit b3674e5324

View File

@ -42,7 +42,7 @@ printf -v version '%s.%02d' "$major" "$minor"
printf -v commit '%09d' "$((16#${description##*-g}))"
addPlistWithKey GITDescription string "$description"
setPlistWithKey CFBundleVersion "${version//.}$commit" # No separator between version and commit because I had already submitted a CFBundleVersion with a really high major. Cry.
setPlistWithKey CFBundleVersion "$version.$commit"
setPlistWithKey CFBundleShortVersionString "$version"
setSettingWithTitle "Build" "$commit"