Sha256: 80369fe5d82e00dfc98f81ef7a6b54a97af3ddbeed54704e1f4009d103002556

Contents?: true

Size: 568 Bytes

Versions: 8

Compression:

Stored size: 568 Bytes

Contents

#!/usr/bin/env ruby

require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb')
include Socialcast

reset_branch('staging')
reset_branch('last_known_good_staging')

filter_id = '10102'
issues = jira_server.getIssuesFromFilterWithLimit filter_id, 0, 1000

HighLine.say "\n<%= color('Updating the following tickets to no longer be in staging:', :red) %>"
update_tickets issues, :in_staging => false

is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q")
run_cmd "socialcast share '#worklog resetting staging branch #scgitx'" unless is_quiet

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
socialcast-git-extensions-2.0.8 bin/git-reset-staging
socialcast-git-extensions-2.0.7 bin/git-reset-staging
socialcast-git-extensions-2.0.6 bin/git-reset-staging
socialcast-git-extensions-2.0.5 bin/git-reset-staging
socialcast-git-extensions-2.0.4 bin/git-reset-staging
socialcast-git-extensions-2.0.3 bin/git-reset-staging
socialcast-git-extensions-2.0.2 bin/git-reset-staging
socialcast-git-extensions-2.0.1 bin/git-reset-staging