tasks/cut_release.rake in rubocop-minitest-0.15.2 vs tasks/cut_release.rake in rubocop-minitest-0.16.0
- old
+ new
@@ -2,12 +2,11 @@
require 'bump'
namespace :cut_release do
%w[major minor patch pre].each do |release_type|
- desc "Cut a new #{release_type} release, create release notes " \
- 'and update documents.'
- task release_type do
+ desc "Cut a new #{release_type} release, create release notes and update documents."
+ task release_type => 'changelog:check_clean' do
run(release_type)
end
end
def add_header_to_changelog(version)