Rakefile in u3d-1.1.5 vs Rakefile in u3d-1.2.0
- old
+ new
@@ -185,9 +185,10 @@
sh 'git push'
end
desc 'Update the changelog, no commit made'
task :changelog do
+ UI.user_error!('No CHANGELOG_GITHUB_TOKEN in the environment') unless ENV.key? 'CHANGELOG_GITHUB_TOKEN'
puts "Updating changelog #{ENV['CHANGELOG_GITHUB_TOKEN']}"
sh "github_changelog_generator" if ENV['CHANGELOG_GITHUB_TOKEN']
end
desc 'Run all rspec tests'