tasks/release.rake in sufia-3.2.1 vs tasks/release.rake in sufia-3.3.0
- old
+ new
@@ -30,11 +30,10 @@
ruby.gsub!(/^(\s*)VERSION = ".*?"$/, "\\1VERSION = \"#{version}\"")
raise "Could not insert VERSION in #{file}" unless $1
File.open(file, 'w') { |f| f.write ruby }
end
end
- task :pkg
task gem => %w(update_version_rb pkg) do
cmd = ""
cmd << "cd #{framework} && " unless framework == "sufia"
cmd << "gem build #{gemspec} && mv #{framework}-#{version}.gem #{root}/pkg/"
sh cmd
@@ -46,10 +45,10 @@
end
task :prep_release => [:ensure_clean_state, :build]
task :push => :build do
- # sh "gem push #{gem}"
+ sh "gem push #{gem}"
end
end
end