Sha256: ddf83bcc9a2bc4e62848c9ea84e0739255b501c8f68a560a3ef2be85f2de255d

Contents?: true

Size: 638 Bytes

Versions: 1

Compression:

Stored size: 638 Bytes

Contents

#!/usr/bin/env ruby

begin
  require 'gitscape'
rescue LoadError
  require 'rubygems'
  require 'gitscape'
end

if ARGV.size < 1
  puts "*** Improper Usage ***"
  puts "TODO: write usage help text"
  exit(1)
else
  case ARGV[0]
    when "hotfix_start"
      Gitscape::Base.new.hotfix_start ARGV[1]
    when "hotfix_finish"
      Gitscape::Base.new.hotfix_finish ARGV[1]
    when "release_start"
      Gitscape::Base.new.release_start
    when "release_finish"
      Gitscape::Base.new.release_finish ARGV[1].to_i
    when "promote_to_qa"
      Gitscape::Base.new.promote_to_qa ARGV[1].to_i
    else
      puts "Unknown command"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitscape-1.3.4 bin/gitscape