mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Ignore Gemfile.lock in the release task
This commit is contained in:
parent
921ce291d4
commit
1576f47c23
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ namespace :all do
|
||||||
task :push => FRAMEWORKS.map { |f| "#{f}:push" } + ['rails:push']
|
task :push => FRAMEWORKS.map { |f| "#{f}:push" } + ['rails:push']
|
||||||
|
|
||||||
task :ensure_clean_state do
|
task :ensure_clean_state do
|
||||||
unless `git status -s | grep -v 'RAILS_VERSION\\|CHANGELOG'`.strip.empty?
|
unless `git status -s | grep -v 'RAILS_VERSION\\|CHANGELOG\\|Gemfile.lock'`.strip.empty?
|
||||||
abort "[ABORTING] `git status` reports a dirty tree. Make sure all changes are committed"
|
abort "[ABORTING] `git status` reports a dirty tree. Make sure all changes are committed"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue