Rakefile in downterm-0.1.1 vs Rakefile in downterm-0.1.2
- old
+ new
@@ -13,18 +13,22 @@
desc "Ensure correct permissions for downterm.gem"
task :perms do
system "chmod", "-R", "a+rX", *`git ls-files`.chomp.split("\n")
end
+desc "Tag the latest version of downterm"
+task :tag do
+ system "git", "tag", "-s", "-m", "downterm v#{Downterm::VERSION}", "v#{Downterm::VERSION}"
+end
+
desc "Install downterm.gem"
task :install => :build do
system "gem", "install", GEM
end
desc "Push gem to RubyGems"
-task :release => :build do
- system "git", "tag", "-s", "-m", "downterm v#{Downterm::VERSION}", "v#{Downterm::VERSION}"
- system "gem", "push", GEM
+task :release => [:tag, :build] do
+ # system "gem", "push", GEM
end
desc "Clean built products"
task :clean do
rm Dir.glob("*.gem"), :verbose => true