Sha256: 60176d91545d10d6ff65f3a51435ac75a248039970bea75466dd7c5a6b9b5d69

Contents?: true

Size: 891 Bytes

Versions: 81

Compression:

Stored size: 891 Bytes

Contents

namespace :release do
  desc 'Upload all packages and tag git'
  task :ALL => ['gems:sanity', :push_dll, :push_jar, :push_native_gems, :release]

  desc 'Push all gems to rubygems.org (gemcutter)'
  task :push_native_gems do
    Dir.chdir('release') do
      Dir['*.gem'].each do |gem_file|
        sh("gem push #{gem_file}")
      end
    end
  end

  desc 'Push dll to Github'
  task :push_dll => :ikvm do
    Dir.chdir('release') do
      # No known way to do scripted uploads. github/upload or aslakhellesoy's fork of github-gem no longer work
      puts "Manually upload gherkin-#{Gherkin::VERSION}.dll to http://github.com/aslakhellesoy/gherkin/downloads"
      puts "Then press enter"
      STDIN.gets
    end
  end

  desc 'Push jar to cukes.info Maven repo'
  task :push_jar do
    Dir.chdir('java') do
      sh("mvn -Dmaven.wagon.provider.http=httpclient deploy")
    end
  end
end

Version data entries

81 entries across 81 versions & 4 rubygems

Version Path
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/gherkin-2.3.3/tasks/release.rake
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/gherkin-2.3.3/tasks/release.rake
benhamill-gherkin-2.3.5 tasks/release.rake
gherkin-2.3.5 tasks/release.rake
gherkin-2.3.5-x86-mswin32 tasks/release.rake
gherkin-2.3.5-x86-mingw32 tasks/release.rake
gherkin-2.3.5-universal-dotnet tasks/release.rake
gherkin-2.3.5-java tasks/release.rake
gherkin-2.3.4 tasks/release.rake
gherkin-2.3.4-x86-mswin32 tasks/release.rake
gherkin-2.3.4-x86-mingw32 tasks/release.rake
gherkin-2.3.4-universal-dotnet tasks/release.rake
gherkin-2.3.4-java tasks/release.rake
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/release.rake
gherkin-2.3.3 tasks/release.rake
gherkin-2.3.3-x86-mswin32 tasks/release.rake
gherkin-2.3.3-x86-mingw32 tasks/release.rake
gherkin-2.3.3-universal-dotnet tasks/release.rake
gherkin-2.3.3-java tasks/release.rake
vim-jar-0.1.2 bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/release.rake