Sha256: a7347ff18f99b45eb7c1ac4641ffe269a65215268437d81b9423aca91885270e

Contents?: true

Size: 451 Bytes

Versions: 18

Compression:

Stored size: 451 Bytes

Contents

#!/usr/bin/env ruby

require 'deploy-context'
require 'deploy-context/deploy'

deployer = Context::DeployContext.new(Dir.pwd)

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

18 entries across 18 versions & 1 rubygems

Version Path
deploy-context-0.11.46 bin/deploy-context
deploy-context-0.11.44 bin/deploy-context
deploy-context-0.11.42 bin/deploy-context
deploy-context-0.11.41 bin/deploy-context
deploy-context-0.11.35 bin/deploy-context
deploy-context-0.11.34 bin/deploy-context
deploy-context-0.11.33 bin/deploy-context
deploy-context-0.11.32 bin/deploy-context
deploy-context-0.11.31 bin/deploy-context
deploy-context-0.11.29 bin/deploy-context
deploy-context-0.11.28 bin/deploy-context
deploy-context-0.11.27 bin/deploy-context
deploy-context-0.11.26 bin/deploy-context
deploy-context-0.11.25 bin/deploy-context
deploy-context-0.11.23 bin/deploy-context
deploy-context-0.11.22 bin/deploy-context
deploy-context-0.11.21 bin/deploy-context
deploy-context-0.11.4 bin/deploy-context