Sha256: a6ee016f6a119ca56f1c07000c1c6009cc76ac8e73c62353435bdf34bf41cb6c

Contents?: true

Size: 564 Bytes

Versions: 2

Compression:

Stored size: 564 Bytes

Contents

#!/usr/bin/env ruby

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

branch = current_branch
raise "Cannot release reserved branch" if %w{master staging prototype}.include?(branch)

tickets = assert_tickets_provided(ARGV, branch)

exit unless HighLine.agree("Release #{branch} to production? (y/n)")

run_cmd 'git update'
integrate branch, 'master'

update_tickets tickets, :branch => branch
release_tickets tickets

integrate branch, 'staging'
integrate 'staging', 'prototype'
run_cmd "grb rm #{branch}"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
socialcast-git-extensions-1.5.1 bin/git-release
socialcast-git-extensions-1.5.0 bin/git-release