Sha256: 5bc0666a9266886cf13455dee9e9f247b23f39341487bc815ba510ada5dcb398

Contents?: true

Size: 550 Bytes

Versions: 3

Compression:

Stored size: 550 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
protect_reserved_branches!(branch, 'release')

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

3 entries across 3 versions & 1 rubygems

Version Path
socialcast-git-extensions-2.2.8 bin/git-release
socialcast-git-extensions-2.2.7 bin/git-release
socialcast-git-extensions-2.2.6 bin/git-release