Sha256: 5aec793eedddb505ecde873e88ace2bab259578b29d1998bd989461c56359cb9

Contents?: true

Size: 885 Bytes

Versions: 2

Compression:

Stored size: 885 Bytes

Contents


job :release do

  include_job :prompt_version
  #ver = prompt "Please provide version for this release:", required: true
  #set :releasing_version, ver

  include_job :check_in 
  include_job :build
end

job :prompt_version do
  if get(:releasing_version) == nil
    ver = prompt "Please provide version for this release:", required: true
    set :releasing_version, ver
  end
end

job :build do

  dir File.dirname(__FILE__) 

  include_job :prompt_version
  
  rubygem do
    #publish build('alog.gemspec'), ignore_status: true #do |res|
    build('gcrypto_jce.gemspec') do |res|
      publish(res, ignore_status: true) 
    end
  end
  
end


job :check_in do
  dir File.dirname(__FILE__)
  git do
    commit
    tag 
    push 'origin', 'master'
    #push 'git','master'
  end
end

job :reinstall do
  rubygem do
    uninstall 'gcrypto_jce' 
    install 'gcrypto_jce'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gcrypto_jce-0.2 release.job
gcrypto_jce-0.1 release.job