socialcast-git-extensions 2.0.6 → 2.0.7

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.
@@ -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 = assert_tickets_provided(ARGV, branch)
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
- update_tickets tickets, :branch => branch
18
- release_tickets tickets
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'
@@ -1,7 +1,7 @@
1
1
  module Socialcast
2
2
  module Git
3
3
  module Extensions
4
- VERSION = "2.0.6"
4
+ VERSION = "2.0.7"
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: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 6
10
- version: 2.0.6
9
+ - 7
10
+ version: 2.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Sonnek