Sha256: 0605dd418023cc666957c487d2fde95f4e83f12a9dcf07c3a215067daa3d7c35
Contents?: true
Size: 771 Bytes
Versions: 1
Compression:
Stored size: 771 Bytes
Contents
#!/usr/bin/env ruby require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb') include Socialcast branch = current_branch abort("Cannot release reserved branch") if %w{master staging prototype}.include?(branch) is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q") 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}" run_cmd "socialcast share '#worklog releasing #{branch} to production #scgitx'" unless is_quiet
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
socialcast-git-extensions-2.0.6 | bin/git-release |