Skip to content

Commit e3eade8

Browse files
committed
update release rakefile to work with the updated website
1 parent 98cbd9d commit e3eade8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ namespace :release do
116116
min_gz = Zlib::Deflate.deflate(File.read("dist/ember.min.js")).bytes.count / 1024
117117

118118
about.gsub!(/(\d+\.\d+\.\d+-rc(?:\.?\d+)?)/, Ember::VERSION)
119-
about.gsub!(/\d+k min\+gzip/, "#{min_gz}k min+gzip")
119+
about.gsub!(/minified \d+kb/, "minified #{min_gz}kb")
120120

121121
open("tmp/website/source/about.html.erb", "w") { |f| f.write about }
122122
end

0 commit comments

Comments
 (0)