gitscape 1.5.4 → 1.5.5

Sign up to get free protection for your applications and to get access to all the features.
data/lib/gitscape/base.rb CHANGED
@@ -103,12 +103,11 @@ class Gitscape::Base
103
103
  hotfix_branch: the name of the hotfix branch to finish.
104
104
  if ommitted, you must currently be on a hotfix branch"
105
105
 
106
+ hotfix_branch = "hotfix/#{hotfix_branch}"
107
+
106
108
  previous_branch = current_branch_name
107
-
108
- if previous_branch.to_s.start_with? "hotfix"
109
- hotfix_branch ||= previous_branch
110
- else
111
- hotfix_branch = "hotfix/#{hotfix_branch}"
109
+ if previous_branch.to_s.start_with? "hotfix/"
110
+ hotfix_branch = previous_branch
112
111
  end
113
112
 
114
113
  if hotfix_branch.to_s.empty?
@@ -1,3 +1,3 @@
1
1
  module Gitscape
2
- VERSION = '1.5.4'
2
+ VERSION = '1.5.5'
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 5
8
- - 4
9
- version: 1.5.4
8
+ - 5
9
+ version: 1.5.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jon Botelho