diff --git a/tasks/release.rb b/tasks/release.rb index d8c1390eef12b5727fc6c5525aecaddf8e95ffe6..2c7e927679e745cd7d6149bbdf5cba8cf2ddb5e8 100644 --- a/tasks/release.rb +++ b/tasks/release.rb @@ -98,7 +98,7 @@ task :push => FRAMEWORKS.map { |f| "#{f}:push" } + ['rails:push'] task :ensure_clean_state do - unless `git status -s | grep -v RAILS_VERSION`.strip.empty? + unless `git status -s | grep -v 'RAILS_VERSION\\|CHANGELOG'`.strip.empty? abort "[ABORTING] `git status` reports a dirty tree. Make sure all changes are committed" end