Permalink
Browse files

Bump to version 0.0.9

  • Loading branch information...
DAddYE committed Jan 25, 2012
1 parent 8e1490d commit 4681c3f71b1e414bcd10b4a1ec90d4c3ff658932
Showing with 3 additions and 4 deletions.
  1. +3 −4 Rakefile
View
@@ -7,13 +7,12 @@ require 'bundler/gem_tasks'
end
end
-desc "Bump version on github"
+desc 'Bump version on github'
task :bump do
- puts "Nothing to commit (working directory clean)" and return if `git status -s`.strip == ""
- if `git status -s`.strip == ""
+ if `git status -s`.strip == ''
puts "\e[31mNothing to commit (working directory clean)\e[0m"
else
- version = Bundler.load_gemspec(Dir[File.expand_path('../*.gemspec', __FILE__)].first).version
+ version = Bundler.load_gemspec(Dir[File.expand_path('../*.gemspec', __FILE__)].first).version
sh "git add .; git commit -a -m \"Bump to version #{version}\""
end
end

0 comments on commit 4681c3f

Please sign in to comment.