diff --git a/Rakefile b/Rakefile index b5c439a56c91c4c30dcb53ab8f8b1da7390a00fb..678b774d8258eca6c9211ec4f3660db662dabd77 100644 --- a/Rakefile +++ b/Rakefile @@ -78,14 +78,6 @@ task :standalone => :load_hub do Hub::Standalone.save('hub') end -begin - require 'mg' - MG.new('git-hub.gemspec') -rescue LoadError - warn "mg not available." - warn "Install it with: gem install mg" -end - desc "Install standalone script and man pages" task :install => :standalone do prefix = ENV['PREFIX'] || ENV['prefix'] || '/usr/local' @@ -97,16 +89,6 @@ task :install => :standalone do FileUtils.cp "man/hub.1", "#{prefix}/share/man/man1" end -desc "Push a new version." -task :publish => "gem:publish" do - require 'hub/version' - system "git tag v#{Hub::Version}" - sh "git push origin v#{Hub::Version}" - sh "git push origin master" - sh "git clean -fd" - exec "rake pages" -end - desc "Publish to GitHub Pages" task :pages => [ "man:build", :check_dirty, :standalone ] do cp "man/hub.1.html", "html"