Sha256: f0d9837b7fc8a1f4204f646d14e71f077783c75d70e31b7a1411f2d5e6a43bc8
Contents?: true
Size: 388 Bytes
Versions: 1
Compression:
Stored size: 388 Bytes
Contents
require 'gemspec/git' desc "Push master to origin, build gem, and push it" task 'release' => 'gem' do Gemspec::Git.cdroot! Gemspec::Git.clean? or ( warn "Need to clean up before releasing" exit 1 ) sh = "git checkout master" s = Gem::Specification.load('gemspec.gemspec') sh "git push origin master" sh "rake gem" sh "gem push pkg/#{s.name}-#{s.version}.gem" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gemspec-0.2.5 | share/gemspec/templates/init/rakelib/release.rake |