remove version string replacement at updating .gemspec.
This commit is contained in:
parent
ae3b012597
commit
9eef9585e1
|
@ -44,7 +44,6 @@ task 'sinatra-contrib.gemspec' do
|
||||||
content.sub!(/ s\.#{field} = \[\n( .*\n)* \]/, updated)
|
content.sub!(/ s\.#{field} = \[\n( .*\n)* \]/, updated)
|
||||||
end
|
end
|
||||||
|
|
||||||
content.sub! /(s\.version.*=\s+).*/, "\\1\"#{Sinatra::Contrib::VERSION}\""
|
|
||||||
File.open('sinatra-contrib.gemspec', 'w') { |f| f << content }
|
File.open('sinatra-contrib.gemspec', 'w') { |f| f << content }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue