Created
August 27, 2013 11:05
-
-
Save miry/6352229 to your computer and use it in GitHub Desktop.
Rubymotion tricks to generate the build version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Motion::Project::App.setup do |app| | |
#Simple example to generate a pretty build version | |
app.version = `git log -n 1 --pretty=format:'%h'`.upcase | |
app.short_version = '1.0' | |
#... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment