hu 2.0.17 → 2.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hu/deploy.rb +15 -0
- data/lib/hu/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68277dcef232fc877eab01e78a1531ac033fc0c8e5b3079f9be563d7e57d486b
|
4
|
+
data.tar.gz: '0801f130f8f9d2a587627fa62814a6b39b65310eb1d3b2637c064ea8f7a04b69'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ab6d7d28c718ed1366359bb88589ccdfe770277d2fc33df6d56d5a51d07d15a7bd8344cadffa9e817d68c86fe900a69b96d1db7765292f6b41e096eb0b5236e
|
7
|
+
data.tar.gz: d29b951bfec1e3a775f22243b74d00f6edeb801c065905ab4a673c14a2206ddf58b4fb0e4d99f8132e01229db48276bd6ae144f79656b15363b2f197db55c1d9
|
data/lib/hu/deploy.rb
CHANGED
@@ -157,6 +157,21 @@ module Hu
|
|
157
157
|
exit 1
|
158
158
|
end
|
159
159
|
|
160
|
+
if @git.config['gitflow.prefix.release'] != 'release/'
|
161
|
+
print TTY::Cursor.clear_line + TTY::Cursor.show
|
162
|
+
puts
|
163
|
+
puts "ERROR: Your git-flow version seems to be suffering from a known bug.".color(:red)
|
164
|
+
puts
|
165
|
+
puts "Please run (copy/paste) all of the following commands to fix it:"
|
166
|
+
puts
|
167
|
+
puts 'git config gitflow.prefix.hotfix "hotfix/"'
|
168
|
+
puts 'git config gitflow.prefix.feature "feature/"'
|
169
|
+
puts 'git config gitflow.prefix.bugfix "bugfix/"'
|
170
|
+
puts 'git config gitflow.prefix.release "release/"'
|
171
|
+
puts 'git config gitflow.prefix.support "support/"'
|
172
|
+
exit 1
|
173
|
+
end
|
174
|
+
|
160
175
|
dp 'detect git-flow prefix'
|
161
176
|
|
162
177
|
unless @git.config['gitflow.prefix.versiontag'].nil? ||
|
data/lib/hu/version.rb
CHANGED