Sha256: ff12b61fbd31b3e9475b90b6228ab79f9b4966a9162fa3dd9b708d34406f9f5a
Contents?: true
Size: 574 Bytes
Versions: 1
Compression:
Stored size: 574 Bytes
Contents
#!/usr/bin/env ruby require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb') require 'readline' include Socialcast branch = current_branch raise "Cannot release reserved branch" if %w{master staging}.include?(branch) assert_tickets_provided exit unless Readline.readline("This will release #{branch} to production. Are you sure (y/n)? ") == 'y' run_cmd 'git update' integrate branch, 'master' update_tickets :branch => branch release_tickets run_cmd "git promote #{ticket}" run_cmd "git integrate #{ticket}" run_cmd "grb rm #{branch}"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
socialcast-git-extensions-0.12.0 | bin/git-release |