Sha256: bc4cb3c1c391da3f73b8cd564b6f2a08faa724795e0daa00a3a7cacb6fa7f486
Contents?: true
Size: 618 Bytes
Versions: 3
Compression:
Stored size: 618 Bytes
Contents
#!/usr/bin/env ruby require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb') include Socialcast branch = current_branch raise "Cannot release reserved branch" if %w{master staging prototype}.include?(branch) tickets = assert_tickets_provided(ARGV, branch) exit unless HighLine.agree("<%= color('Release #{branch} to production? (y/n)', :green) %>") run_cmd 'git update' integrate branch, 'master' update_tickets tickets, :branch => branch release_tickets tickets integrate branch, 'staging' integrate 'staging', 'prototype' run_cmd "git checkout master" run_cmd "grb rm #{branch}"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
socialcast-git-extensions-1.5.5 | bin/git-release |
socialcast-git-extensions-1.5.4 | bin/git-release |
socialcast-git-extensions-1.5.3 | bin/git-release |