Sha256: c4044f00518f1760476cdaf9b9baee3633cf58e9e099faa573deb13b2cf647a1

Contents?: true

Size: 992 Bytes

Versions: 66

Compression:

Stored size: 992 Bytes

Contents

desc 'Release the website and new gem version'
task :deploy => [:check_version, :website, :release] do
  puts "Remember to create SVN tag:"
  puts "svn copy svn+ssh://#{RUBYFORGE_USERNAME}@rubyforge.org/var/svn/#{PATH}/trunk " +
    "svn+ssh://#{RUBYFORGE_USERNAME}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} "
  puts "Suggested comment:"
  puts "Tagging release #{CHANGES}"
end

desc 'Runs tasks website_generate and install_gem as a local deployment of the gem'
task :local_deploy => [:website_generate, :install_gem]

task :check_version do
  unless ENV['VERSION']
    puts 'Must pass a VERSION=x.y.z release version'
    exit
  end
  unless ENV['VERSION'] == VERS
    puts "Please update your version.rb to match the release version, currently #{VERS}"
    exit
  end
end

desc 'Install the package as a gem, without generating documentation(ri/rdoc)'
task :install_gem_no_doc => [:clean, :package] do
  sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
end

Version data entries

66 entries across 66 versions & 13 rubygems

Version Path
newgem-0.13.0 app_generators/newgem/templates/tasks/deployment.rake
newgem-0.13.2 app_generators/newgem/templates/tasks/deployment.rake
newgem-0.13.4 app_generators/newgem/templates/tasks/deployment.rake
newgem-0.13.3 app_generators/newgem/templates/tasks/deployment.rake
pong-0.1.0 tasks/deployment.rake
pong-0.2.0 tasks/deployment.rake