Sha256: 40b952265ba88c0c372b702753a6636f5e434a8939a9fbb4a8b0f93ae854762b

Contents?: true

Size: 384 Bytes

Versions: 5

Compression:

Stored size: 384 Bytes

Contents

#!/usr/bin/env ruby

require_relative '../../deploy-context'

if ARGV[0].nil?
  deployer.cycle
else
  case ARGV[0]
  when 'once'
    puts "Parameter passe #{ARGV[0]}"
    deployer.cycle
  when 'always'
    while true do
      deployer.cycle
    end
  when 'bump'
    deployer.minor_bump
  when 'release'
    deployer.major_bump
  else
    puts "Unkonown setting #{ARGV[0]}"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
deploy-context-0.11.52 lib/deploy-context/context/binary.rb
deploy-context-0.11.51 lib/deploy-context/context/binary.rb
deploy-context-0.11.50 lib/deploy-context/context/binary.rb
deploy-context-0.11.48 lib/deploy-context/context/binary.rb
deploy-context-0.11.47 lib/deploy-context/context/binary.rb