Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
A rake task to release a cocoapod spec and record the version information to git.
desc 'Create git tags and push them to remote, push podspec to CocoaPods.'
task :release do
version = `vrsn --read --file #{version_file}`
sh "git tag #{version.strip}"
sh 'git push --tags'
sh 'pod trunk push'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.