Sha256: 35a1ab54adec520d6025f5b397bb133782e58fec35304c38ce51fec44cb81e29

Contents?: true

Size: 707 Bytes

Versions: 1

Compression:

Stored size: 707 Bytes

Contents

#!/usr/bin/env ruby

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

run_cmd 'git checkout master'
run_cmd 'git pull'
run_cmd 'git pull origin last_known_good_next_release'
run_cmd 'put push origin HEAD'

filter_id = '10102'
issues = jira_server.getIssuesFromFilterWithLimit filter_id, 0, 1000
issues.each do |issue|
  #TODO: only resolve if the git branch has been merged into master?
  puts "Should this ticket be closed? #{issue.key}"
  # puts 'Transitioning ticket from "Resolved" to "Closed"'
  # release_action = '101'
  # jira_server.progressWorkflowAction issue.key, release_action, []
end

run_cmd 'git prune-merged -r'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
socialcast-git-extensions-0.10.3 bin/git-release-pending