Instantly share code, notes, and snippets.

Embed
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'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment