Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rakefile cleanups

  • Loading branch information...
commit c7a7e0cff5f1d3f63f6172c6804a53c1865ca69b 1 parent cbf590a
Tim Lucas authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 Rakefile
5 Rakefile
View
@@ -15,13 +15,12 @@ require "bananajour/version"
version = Bananajour::VERSION
gem_name = "bananajour-#{version}.gem"
-desc "Build #{gem_name} into pkg"
+desc "Build #{gem_name}"
task :build do
system "gem build bananajour.gemspec"
end
desc "Tag and push #{gem_name}"
task :push => :build do
- abort "Push failed: #{version} already tagged. Do you need to bump the version?" if `git tag`.split.include?(version)
- system "git tag #{version} && git push --all && git push --tags && gem push #{gem_name}"
+ system "git tag #{version} && git push && git push --tags && gem push #{gem_name}"
end
Please sign in to comment.
Something went wrong with that request. Please try again.