diff options
author | Saku Ytti <saku@ytti.fi> | 2015-04-03 12:14:57 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2015-04-03 12:14:57 +0300 |
commit | 86516432c330801825a9204a7b0bf640e91d7f1f (patch) | |
tree | 91f6e2edd23a17619794c95f2a346444f5e9eb55 | |
parent | b9150304aee5eb0fa36ab8565abc95dce0294004 (diff) |
add tagging to rake push
-rw-r--r-- | Rakefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -40,7 +40,12 @@ task :clean do FileUtils.rm_rf 'gems' end +desc 'Tag the release' +task :tag do + system "git tag #{gemspec.version}" +end + desc 'Push to rubygems' -task :push do +task :push => :tag do system "gem push gems/#{file}" end |