Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Actually make gem publishing work

  • Loading branch information...
commit 3c1b51ecb02c51f084ffc1cc3880c92ec7fc3a07 1 parent a1a1033
@kneath kneath authored
Showing with 9 additions and 10 deletions.
  1. +9 −10 Rakefile
View
19 Rakefile
@@ -39,19 +39,18 @@ end
#
begin
- require 'kss/version'
require 'mg'
MG.new("kss.gemspec")
-
- desc "Push a new version to Gemcutter and publish docs."
- task :publish => "gem:publish" do
- require File.dirname(__FILE__) + '/lib/kss/version'
-
- sh "git tag v#{Kss::VERSION}"
- sh "git push origin master --tags"
- sh "git clean -fd"
- end
rescue LoadError
warn "mg not available."
warn "Install it with: gem install mg"
+end
+
+desc "Push a new version to Gemcutter and publish docs."
+task :publish => "gem:publish" do
+ require File.dirname(__FILE__) + '/lib/kss/version'
+
+ sh "git tag v#{Kss::VERSION}"
+ sh "git push origin master --tags"
+ sh "git clean -fd"
end
Please sign in to comment.
Something went wrong with that request. Please try again.