socialcast-git-extensions 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/git-release +5 -3
- data/lib/socialcast-git-extensions/version.rb +1 -1
- metadata +3 -3
data/bin/git-release
CHANGED
@@ -7,15 +7,17 @@ branch = current_branch
|
|
7
7
|
abort("Cannot release reserved branch") if %w{master staging prototype}.include?(branch)
|
8
8
|
|
9
9
|
is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q")
|
10
|
-
tickets =
|
10
|
+
tickets = tickets_from_arguments_or_branch(ARGV, branch)
|
11
11
|
|
12
12
|
exit unless HighLine.agree("<%= color('Release #{branch} to production? (y/n)', :green) %>")
|
13
13
|
|
14
14
|
run_cmd 'git update'
|
15
15
|
integrate branch, 'master'
|
16
16
|
|
17
|
-
|
18
|
-
|
17
|
+
if tickets.any?
|
18
|
+
update_tickets tickets, :branch => branch
|
19
|
+
release_tickets tickets
|
20
|
+
end
|
19
21
|
|
20
22
|
integrate branch, 'staging'
|
21
23
|
integrate 'staging', 'prototype'
|
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: 1
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.
|
9
|
+
- 7
|
10
|
+
version: 2.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan Sonnek
|