diff --git a/Rakefile b/Rakefile index 6431c716..f0833a69 100644 --- a/Rakefile +++ b/Rakefile @@ -181,7 +181,7 @@ if defined?(Gem) task 'release' => ['test', package('.gem')] do if File.binread("CHANGES") =~ /= \d\.\d\.\d . not yet released$/i - fail 'please update changes first' + fail 'please update changes first' unless %x{git symbolic-ref HEAD} == "refs/heads/prerelease\n" end sh <<-SH