diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-07 12:49:06 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-07 12:50:02 -0700 |
commit | c98a60c3c1c02e2aa8bdaa6883520b359ad98e5c (patch) | |
tree | 9e15eb2cede2800d2cdf68a560ab646fc9ee9dcc | |
parent | 00f67aeec607a3b555912e9a9ed30b087ff5cbc8 (diff) | |
download | libyajl2-gem-c98a60c3c1c02e2aa8bdaa6883520b359ad98e5c.tar.gz |
add rake ship command
-rw-r--r-- | Rakefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -41,6 +41,16 @@ task :clean do sh "git clean -fdx" 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, :gem] 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}") + end +end + # # test tasks # |