Sha256: 83c0b30b640ab020ccd296f3f0e358d49f72d42052fdeafcada5ad7aca843342

Contents?: true

Size: 648 Bytes

Versions: 10

Compression:

Stored size: 648 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 = assert_tickets_provided(ARGV, branch)

run_cmd 'git update'
integrate(branch, 'prototype')

update_tickets tickets, :branch => branch, :in_prototype => true
start_tickets tickets

run_cmd "socialcast share '#worklog integrating #{branch} into prototype #scgitx'" unless is_quiet

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
socialcast-git-extensions-2.0.5 bin/git-integrate
socialcast-git-extensions-2.0.4 bin/git-integrate
socialcast-git-extensions-2.0.3 bin/git-integrate
socialcast-git-extensions-2.0.2 bin/git-integrate
socialcast-git-extensions-2.0.1 bin/git-integrate
socialcast-git-extensions-2.0.0 bin/git-integrate
socialcast-git-extensions-2.0.0.beta4 bin/git-integrate
socialcast-git-extensions-2.0.0.beta3 bin/git-integrate
socialcast-git-extensions-2.0.0.beta2 bin/git-integrate
socialcast-git-extensions-2.0.0.beta1 bin/git-integrate