Skip to content

Instantly share code, notes, and snippets.

@hjanuschka
Created January 18, 2016 12:20
Show Gist options
  • Save hjanuschka/f473a3f35b8c78f62008 to your computer and use it in GitHub Desktop.
Save hjanuschka/f473a3f35b8c78f62008 to your computer and use it in GitHub Desktop.
lane :bump_version do
require 'spaceship'
ensure_git_status_clean
Spaceship::Tunes.login
app = Spaceship::Tunes::Application.find($self_idfs[0])
version = prompt(text: "New Version number?")
app.create_version!(version)
increment_version_number(version_number: version)
commit_version_bump(message: "Version Bump!!")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment