Rakefile in certmeister-0.3.1 vs Rakefile in certmeister-0.3.2

- old
+ new

@@ -9,29 +9,9 @@ end FileUtils.mkdir_p('pkg') FileUtils.mv(Dir['*.gem'], 'pkg') end -namespace :bump do - bump_version = ->(component) do - sh 'bundle', 'exec', 'semver', 'inc', component - puts "Remember to update Gemfile.lock with bundle install" - end - - desc 'Bump version [major]' - task :major do - bump_version.call('major') - end - desc 'Bump version [minor]' - task :minor do - bump_version.call('minor') - end - desc 'Bump version [patch]' - task :patch do - bump_version.call('patch') - end -end - desc 'Tags version, pushes to remote, and pushes gem' task :release => :build do sh 'git', 'tag', '-m', "Released v#{Certmeister::VERSION}", "v#{Certmeister::VERSION}" sh "git push origin master" sh "git push origin v#{Certmeister::VERSION}"