Sha256: 87375021417294eea5b178403bc0479efddbeaa5603b5bd893093dc5cea09de2
Contents?: true
Size: 989 Bytes
Versions: 3
Compression:
Stored size: 989 Bytes
Contents
begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end require 'date' require 'tempfile' load 'workarea/changelog.rake' $LOAD_PATH.unshift File.expand_path('../lib', __FILE__) require 'workarea/upgrade/version' desc "Release version #{Workarea::Upgrade::VERSION} of the gem" task :release do host = "https://#{ENV['BUNDLE_GEMS__WEBLINC__COM']}@gems.weblinc.com" Rake::Task['workarea:changelog'].execute system 'git add CHANGELOG.md' system 'git commit -m "Update CHANGELOG"' system "git tag -a v#{Workarea::Upgrade::VERSION} -m 'Tagging #{Workarea::Upgrade::VERSION}'" system 'git push origin HEAD --follow-tags' system "gem build workarea-upgrade.gemspec" system "gem push workarea-upgrade-#{Workarea::Upgrade::VERSION}.gem #{host}" system "gem push workarea-upgrade-#{Workarea::Upgrade::VERSION}.gem --host #{host}" system "rm workarea-upgrade-#{Workarea::Upgrade::VERSION}.gem" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
workarea-upgrade-3.0.4 | Rakefile |
workarea-upgrade-3.0.3 | Rakefile |
workarea-upgrade-3.0.2 | Rakefile |