Sha256: 354ca9e9ffce48b2ad435dfcd1ad0dacd3944c5ee6abbb875fecc93cf4f523da
Contents?: true
Size: 596 Bytes
Versions: 4
Compression:
Stored size: 596 Bytes
Contents
require "bundler/gem_tasks" require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task default: :spec namespace :gem do desc "Release to rubygems" task :release do require File.expand_path('lib/valcro/version', File.dirname(__FILE__)) version = Valcro::VERSION message = "Bump to version #{version}" system "git tag -a -m '#{message}' v#{version}" system "git push origin master" system "git push origin $(git tag | tail -1)" system "gem build valcro.gemspec" system "gem push valcro-#{version}.gem" system "rm valcro-#{version}.gem" end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
valcro-0.2.0 | Rakefile |
valcro-0.1.1 | Rakefile |
valcro-0.1 | Rakefile |
valcro-0.0.2 | Rakefile |