Skip to content

Instantly share code, notes, and snippets.

@miry
Created August 27, 2013 11:05
Show Gist options
  • Save miry/6352229 to your computer and use it in GitHub Desktop.
Save miry/6352229 to your computer and use it in GitHub Desktop.
Rubymotion tricks to generate the build version.
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