mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
use binread for parsing CHANGES
This commit is contained in:
parent
ed2b318d29
commit
3e043ee105
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -165,7 +165,7 @@ if defined?(Gem)
|
|||
end
|
||||
|
||||
task 'release' => ['test', package('.gem')] do
|
||||
if File.read("CHANGES") =~ /= \d\.\d\.\d . not yet released$/i
|
||||
if File.binread("CHANGES") =~ /= \d\.\d\.\d . not yet released$/i
|
||||
fail 'please update changes first'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue