1
0
Fork 0
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:
Konstantin Haase 2013-02-26 17:57:16 +11:00
parent ed2b318d29
commit 3e043ee105

View file

@ -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