Try and see if I can convince Apple to allow me to go back to a sane CFBundleVersion.
This commit is contained in:
parent
2aa7d33f7a
commit
b3674e5324
@ -42,7 +42,7 @@ printf -v version '%s.%02d' "$major" "$minor"
|
|||||||
printf -v commit '%09d' "$((16#${description##*-g}))"
|
printf -v commit '%09d' "$((16#${description##*-g}))"
|
||||||
|
|
||||||
addPlistWithKey GITDescription string "$description"
|
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"
|
setPlistWithKey CFBundleShortVersionString "$version"
|
||||||
|
|
||||||
setSettingWithTitle "Build" "$commit"
|
setSettingWithTitle "Build" "$commit"
|
||||||
|
Loading…
Reference in New Issue
Block a user