bin/git-release in socialcast-git-extensions-2.2.1 vs bin/git-release in socialcast-git-extensions-2.2.2

- old
+ new

@@ -1,21 +1,20 @@ #!/usr/bin/env ruby require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb') -include Socialcast +include Socialcast::Gitx +include Socialcast::Git branch = current_branch abort("Cannot release reserved branch") if %w{master staging prototype}.include?(branch) -is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q") - exit unless HighLine.agree("<%= color('Release #{branch} to production? (y/n)', :green) %>") run_cmd 'git update' integrate branch, 'master' 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 +share "#worklog releasing #{branch} to production #scgitx"