Skip to content

Commit 84ef603

Browse files
committed
Ignore Gemfile.lock in the release task
1 parent 96c4b1a commit 84ef603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/release.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
task :push => FRAMEWORKS.map { |f| "#{f}:push" } + ['rails:push']
110110

111111
task :ensure_clean_state do
112-
unless `git status -s | grep -v 'RAILS_VERSION\\|CHANGELOG'`.strip.empty?
112+
unless `git status -s | grep -v 'RAILS_VERSION\\|CHANGELOG\\|Gemfile.lock'`.strip.empty?
113113
abort "[ABORTING] `git status` reports a dirty tree. Make sure all changes are committed"
114114
end
115115

0 commit comments

Comments
 (0)