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 a6395a83a31d837f539457855691e9a724b0b1a1 1 parent a0736bf
Konstantin Haase rkh authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 Rakefile
4 Rakefile
View
@@ -185,6 +185,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.