Sha256: 68ac619cc32a7ac79abc90a64872cc67e5f5c26d9452a8866f2d6bee9d697a84
Contents?: true
Size: 681 Bytes
Versions: 3
Compression:
Stored size: 681 Bytes
Contents
#!/usr/bin/env ruby # if the branch has already been integrated, the tickets can be inferred and looked up from jira # usage: # git integrate <ticket_id> <ticket_id2>... require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb') include Socialcast is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q") branch = current_branch tickets = tickets_from_arguments_or_branch(ARGV, branch) run_cmd 'git update' integrate(branch, 'prototype') if tickets.any? update_tickets tickets, :branch => branch, :in_prototype => true start_tickets tickets end run_cmd "socialcast share '#worklog integrating #{branch} into prototype #scgitx'" unless is_quiet
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
socialcast-git-extensions-2.0.8 | bin/git-integrate |
socialcast-git-extensions-2.0.7 | bin/git-integrate |
socialcast-git-extensions-2.0.6 | bin/git-integrate |