diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-11-12 15:00:05 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-11-12 15:12:34 -0200 |
commit | 1576f47c23f6be58b9ceb527b265800be21f6593 (patch) | |
tree | 614d59bbe653f9b6b37fb38dca85a9b218775638 /tasks | |
parent | 921ce291d4d352aa378facd3bc0fc18150d9a2bb (diff) | |
download | rails-1576f47c23f6be58b9ceb527b265800be21f6593.tar.gz rails-1576f47c23f6be58b9ceb527b265800be21f6593.tar.bz2 rails-1576f47c23f6be58b9ceb527b265800be21f6593.zip |
Ignore Gemfile.lock in the release task
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/release.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/release.rb b/tasks/release.rb index 5f0f4a06c1..7c8b884d44 100644 --- a/tasks/release.rb +++ b/tasks/release.rb @@ -109,7 +109,7 @@ namespace :all do task :push => FRAMEWORKS.map { |f| "#{f}:push" } + ['rails:push'] 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" end |