Sha256: 9f48f02264ee569a50d5b9aaca05c51159498b0dd9bcabb68cefa3cad8597c0d
Contents?: true
Size: 799 Bytes
Versions: 1
Compression:
Stored size: 799 Bytes
Contents
namespace :release do desc "Create all gems, including in sub-modules" task :gem do cmd = "rm -rf pkg && rake gem" in_each_sub_module("'rake gem' in") do |sub| system(cmd) end system(cmd) end desc "Try the release by installing all gems locally" task :try => :gem do cmd = "gem install --no-rdoc --no-ri --local pkg/*.gem" in_each_sub_module("'gem install' in") do |sub| system(cmd) end system(cmd) end desc "Release it!" task :go => :gem do require 'alf/version' version = Alf::VERSION cmd = "gem push pkg/*.gem && git tag v#{version} && git push origin --tags" in_each_sub_module("'gem push & git tag' in") do |sub| system(cmd) end system(cmd) end end desc "Release alf" task :release => :"release:go"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alf-0.15.0 | tasks/release.rake |