Sha256: d121f34c03b124c740e94dc1f68d7a45325d960bb9eaef7f5abdf7048a5e7f58
Contents?: true
Size: 1.05 KB
Versions: 30
Compression:
Stored size: 1.05 KB
Contents
require "bundler/gem_tasks" require "rake/testtask" Rake::TestTask.new(:test) do |t| t.libs << "test" t.libs << "lib" t.test_files = FileList['test/**/*_test.rb'] end APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__) load 'rails/tasks/engine.rake' load 'rails/tasks/statistics.rake' task :patch do system "gem bump --tag" end task :minor do system "gem bump --version minor --tag" end task :major do system "gem bump --version major --tag" end task :publish => [:build] do $VERBOSE = nil load 'semantic-rails-ui/version.rb' system "gem push pkg/semantic-rails-ui-#{SemanticRailsUi::VERSION}.gem" end desc "Bump patch version, create git tag, build the gem and release to geminabox (default)" task :release_patch => [:test, :patch, :publish] desc "Bump minor version, create git tag, build the gem and release to geminabox" task :release_minor => [:test, :minor, :publish] desc "Bump major version, create git tag, build the gem and release to geminabox" task :release_major => [:test, :major, :publish] task default: :test
Version data entries
30 entries across 30 versions & 1 rubygems