Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add CHANGES check to release task

  • Loading branch information...
commit bf097d6dad76783b8983f76fa225c444db41e8a1 1 parent 47c11e5
@rkh rkh authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 Rakefile
View
4 Rakefile
@@ -164,6 +164,10 @@ if defined?(Gem)
end
task 'release' => ['test', package('.gem')] do
+ if File.read("CHANGES") =~ /= \d\.\d\.\d - not yet released$/i
+ fail 'please update changes first'
+ end
+
sh <<-SH
gem install #{package('.gem')} --local &&
gem push #{package('.gem')} &&
Please sign in to comment.
Something went wrong with that request. Please try again.