deploy-context 0.11.27 → 0.11.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/features/step_definitions/deploy-context.rb +0 -1
- data/lib/deploy-context/deploy/git.rb +5 -1
- data/lib/deploy-context/deploy/ruby.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79768e717633d6c93928bea500b70428da3d5bd45b65bbef975b40ea679290b3
|
4
|
+
data.tar.gz: 5362eb9b9dba233f335f9411988946bddc3f22cc2e0c5662443eba469b8ec648
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eadd3388ef523c0a8ba643cd2b04cb4a7e5810132c11e6e8e164449fdd2a91a83756677764503a44cc2b2eeb58bc29c06b98311ecd2cc883d4e8f7073cf55ee
|
7
|
+
data.tar.gz: 918d3509a036c99fdab694c18f10df72f5c5c9b90e55ed29c4ce816e03dfc1372acff7a746c191c08a57961d8a43daba0b1ba9034481adab54f8be3d0a30179a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -3,7 +3,11 @@ module Context
|
|
3
3
|
def git_build(context)
|
4
4
|
Dir.chdir File.dirname(context.context_folder)
|
5
5
|
puts "Building ruby from folder #{context.context_folder}"
|
6
|
-
|
6
|
+
if ::Dir.exist?(context.context_folder)
|
7
|
+
git ['pull']
|
8
|
+
else
|
9
|
+
git ["clone git@github.com:JimboDragonGit/#{context.context_name}.git"] unless ::Dir.exist?(context.context_folder)
|
10
|
+
end
|
7
11
|
end
|
8
12
|
|
9
13
|
def git_commit(context)
|
@@ -46,11 +46,11 @@ module Context
|
|
46
46
|
context.wait_until_release_available
|
47
47
|
context.install
|
48
48
|
if context.test_context_successful?
|
49
|
-
puts "newer version installed successfully for #{context_name} and version #{
|
49
|
+
puts "newer version installed successfully for #{context.context_name} and version #{context.version}"
|
50
50
|
context.patch_bump
|
51
51
|
# patch_reset(context)
|
52
52
|
else
|
53
|
-
puts "newer version not installed for #{context_name} and version #{
|
53
|
+
puts "newer version not installed for #{context.context_name} and version #{context.version}"
|
54
54
|
exit 1
|
55
55
|
end
|
56
56
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|