socialcast-git-extensions 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/git-reset-prototype +3 -2
- data/lib/socialcast-git-extensions/version.rb +1 -1
- metadata +4 -6
- data/bin/git-release-staging +0 -15
data/bin/git-reset-prototype
CHANGED
@@ -3,8 +3,9 @@
|
|
3
3
|
require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb')
|
4
4
|
include Socialcast
|
5
5
|
|
6
|
-
|
7
|
-
reset_branch('
|
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
|
|
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:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.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-
|
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
|
data/bin/git-release-staging
DELETED
@@ -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
|