Sha256: a2f6230a7bd5ccf84363e6fa0f85b553ec965f61aad435df950816b3aa2e9497

Contents?: true

Size: 636 Bytes

Versions: 5

Compression:

Stored size: 636 Bytes

Contents

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

  task :push_gems do
    Dir.chdir('release') do
      Dir['*.gem'].each do |gem_file|
        sh("gem push #{gem_file}")
      end
    end
  end

  task :push_dll => :ikvm do
    Dir.chdir('release') do
      # This requires aslakhellesoy's build of the github gem,
      # which has tekkub's upload command.
      sh("github upload #{Dir['gherkin*.dll'][0]}")
    end
  end

  task :push_jar do
    Dir.chdir('java') do
      sh("mvn -Dmaven.wagon.provider.http=httpclient deploy")
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gherkin-2.1.5 tasks/release.rake
gherkin-2.1.5-i386-mswin32 tasks/release.rake
gherkin-2.1.5-i386-mingw32 tasks/release.rake
gherkin-2.1.5-universal-dotnet tasks/release.rake
gherkin-2.1.5-java tasks/release.rake