mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
changes don't have to be up to date for a prerelease
This commit is contained in:
parent
2a3ee2dc88
commit
73524e66f3
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
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
|
||||
|
|
Loading…
Reference in a new issue