Permalink
Browse files

Relax release task.

  • Loading branch information...
1 parent 9ae9773 commit 138deade1a609ef7d95379b0b5547ad8dd46604d @alloy alloy committed Jul 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -138,7 +138,7 @@ namespace :gem do
exit 1
end
- if diff_lines != ['Gemfile.lock', 'lib/xcodeproj.rb']
+ if !diff_lines.all? { |f| %w{ Gemfile.lock lib/xcodeproj.rb }.include?(f) }
$stderr.puts "[!] Only change the version number in a release commit!"
exit 1
end

0 comments on commit 138dead

Please sign in to comment.