socialcast-git-extensions 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,8 +3,9 @@
3
3
  require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb')
4
4
  include Socialcast
5
5
 
6
- reset_branch('prototype')
7
- reset_branch('last_known_good_prototype')
6
+ head_branch = ARGV.first || 'master'
7
+ reset_branch('prototype', head_branch)
8
+ reset_branch('last_known_good_prototype', head_branch)
8
9
 
9
10
  HighLine.say "\n<%= color('Updating the following tickets to no longer be in prototype:', :red) %>"
10
11
 
@@ -1,7 +1,7 @@
1
1
  module Socialcast
2
2
  module Git
3
3
  module Extensions
4
- VERSION = "2.1.1"
4
+ VERSION = "2.1.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socialcast-git-extensions
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 1
10
- version: 2.1.1
9
+ - 2
10
+ version: 2.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Sonnek
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-17 00:00:00 Z
18
+ date: 2011-10-18 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: grit
@@ -97,7 +97,6 @@ executables:
97
97
  - git-promote
98
98
  - git-prune-merged
99
99
  - git-release
100
- - git-release-staging
101
100
  - git-reset-prototype
102
101
  - git-reset-staging
103
102
  - git-share
@@ -120,7 +119,6 @@ files:
120
119
  - bin/git-promote
121
120
  - bin/git-prune-merged
122
121
  - bin/git-release
123
- - bin/git-release-staging
124
122
  - bin/git-reset-prototype
125
123
  - bin/git-reset-staging
126
124
  - bin/git-share
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb')
4
- include Socialcast
5
-
6
- is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q")
7
-
8
- run_cmd 'git checkout master'
9
- run_cmd 'git pull'
10
- run_cmd 'git pull origin last_known_good_staging'
11
- run_cmd 'git push origin HEAD'
12
-
13
- run_cmd 'git prune-merged -r'
14
-
15
- run_cmd "socialcast share '#worklog releasing staging branch to production #scgitx'" unless is_quiet