summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 0bd4ffa..3d85377 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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