Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version and Build are taken wrongly #28

Open
matteogobbi opened this issue Feb 12, 2015 · 0 comments
Open

Version and Build are taken wrongly #28

matteogobbi opened this issue Feb 12, 2015 · 0 comments

Comments

@matteogobbi
Copy link
Contributor

Hi, I see that in the script, as version is taken the build number, and as build number is taken the number of commits. I changed the script with this code in order to retrieve the correct info:

version=`/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "${INFOPLIST_FILE}"`
build_num=`/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${INFOPLIST_FILE}"`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant