Sha256: 3d1bc36a75282c82c706a64c605ccd512c77b58e23e6af5502c7856865a94bd0

Contents?: true

Size: 593 Bytes

Versions: 4

Compression:

Stored size: 593 Bytes

Contents

#!/usr/bin/env ruby

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

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

exit unless HighLine.agree("<%= color('Release #{branch} to production? (y/n)', :green) %>")

run_cmd 'git update'
integrate branch, 'master'

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

share "#worklog releasing #{branch} to production #scgitx"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
socialcast-git-extensions-2.2.5 bin/git-release
socialcast-git-extensions-2.2.4 bin/git-release
socialcast-git-extensions-2.2.3 bin/git-release
socialcast-git-extensions-2.2.2 bin/git-release