summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-05-20 13:13:43 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-05-20 13:13:43 -0700
commit5b197151b973da84651b7edf5e02e0c2727f49af (patch)
tree0f788d8477f3a72ed6441d8df9a387abe0682290
parent605cafd69238d5c399115c24b2e579b8f49ae7d5 (diff)
downloadlibyajl2-gem-5b197151b973da84651b7edf5e02e0c2727f49af.tar.gz
comments on shipping
-rw-r--r--Rakefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index b3e8b91..5b0f112 100644
--- a/Rakefile
+++ b/Rakefile
@@ -102,9 +102,14 @@ task :prep do
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")