Rakefile in libyajl2-0.1.8 vs Rakefile in libyajl2-0.1.9
- old
+ new
@@ -100,12 +100,17 @@
# generate the yajl_version.h header file without invoking cmake
generate_yajl_version
end
+#
# FIXME: need a rake task to update the git submodule and need to do that before shipping
-desc "Build it and ship it"
-#task :ship => [:clean, :prep, :gem] do
+#
+# to ship, update lib/libyajl2/version.rb and commit that, then:
+#
+# git push && rake clean && rake prep && rake gem && rake ship
+#
+desc "Ship it"
task :ship do
sh("git tag #{Libyajl2::VERSION}")
sh("git push --tags")
Dir[File.expand_path("../pkg/*.gem", __FILE__)].reverse.each do |built_gem|
sh("gem push #{built_gem}")