hu 1.4.4 → 1.4.5
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.
- checksums.yaml +4 -4
- data/lib/hu/deploy.rb +8 -9
- data/lib/hu/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18e775c77f7d19ab5e74106a959e66501a07fe2e
|
4
|
+
data.tar.gz: f932f71d40cb73f3d4fb56d670cb9f59dc5fabb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d0703430c613c7ff7c262c333166142d87104fb4c0c0159138f68566687c955e370452463b4b8264ee4761b50dd61cadedc97fe4ece644f3fd8528561710e36
|
7
|
+
data.tar.gz: ee1dfe8714cead387e25e7b7d3f8cdbebc3f6ab91b102bfebfc33db40dc1474d1b614c6edac82be10d74f510a8441e2ee84fb32f4d575b48d9a22f0c8f1ad2c3
|
data/lib/hu/deploy.rb
CHANGED
@@ -31,7 +31,7 @@ module Hu
|
|
31
31
|
@@spinner = nil
|
32
32
|
@@home_branch = nil
|
33
33
|
|
34
|
-
MINIMUM_GIT_VERSION = Versionomy.parse('2.9.0')
|
34
|
+
#MINIMUM_GIT_VERSION = Versionomy.parse('2.9.0')
|
35
35
|
|
36
36
|
text 'Interactive deployment.'
|
37
37
|
desc 'Interactive deployment'
|
@@ -66,7 +66,6 @@ module Hu
|
|
66
66
|
puts "Git error: #{e}".color(:red)
|
67
67
|
puts 'You need to be inside the working copy of the app that you wish to deploy.'.color(:red)
|
68
68
|
puts
|
69
|
-
print TTY::Cursor.prev_line
|
70
69
|
Hu::Tm.t(:error_not_in_working_copy, cmd: 'deploy')
|
71
70
|
exit 1
|
72
71
|
end
|
@@ -447,10 +446,10 @@ module Hu
|
|
447
446
|
table << r
|
448
447
|
end
|
449
448
|
|
450
|
-
git_version_warning = ''
|
451
|
-
if current_git_version < MINIMUM_GIT_VERSION
|
452
|
-
|
453
|
-
end
|
449
|
+
#git_version_warning = ''
|
450
|
+
#if current_git_version < MINIMUM_GIT_VERSION
|
451
|
+
# git_version_warning = " (your git is outdated. please upgrade to v#{MINIMUM_GIT_VERSION}!)".color(:black).bright
|
452
|
+
#end
|
454
453
|
|
455
454
|
puts "\e[H\e[2J" if clear
|
456
455
|
puts " PIPELINE #{pipeline_name} ".inverse+git_version_warning
|
@@ -882,9 +881,9 @@ module Hu
|
|
882
881
|
@git.head.name.sub(/^refs\/heads\//, '')
|
883
882
|
end
|
884
883
|
|
885
|
-
def current_git_version
|
886
|
-
|
887
|
-
end
|
884
|
+
#def current_git_version
|
885
|
+
# Versionomy.parse(`git --version`.chomp.split(' ')[-1])
|
886
|
+
#end
|
888
887
|
|
889
888
|
def create_changelog(env)
|
890
889
|
if File.executable? '.hu/hooks/changelog'
|
data/lib/hu/version.rb
CHANGED