2
0

Version can't be > 18 chars, so use the major as the repeater.

This commit is contained in:
Maarten Billemont 2016-07-02 09:46:42 -04:00
parent e11e73c0db
commit 2897bc741c

View File

@ -42,7 +42,7 @@ printf -v version '%s.%d' "$release" "$build"
printf -v commit '%s' "${description##*-g}"
addPlistWithKey GITDescription string "$description"
setPlistWithKey CFBundleVersion "2222222222222.$version"
setPlistWithKey CFBundleVersion "$(hr "${version%%.*}" 13).${version#*.}"
setPlistWithKey CFBundleShortVersionString "$release"
setSettingWithTitle "Build" "$commit"