deploy-context 2.1.14 → 2.1.16
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/lib/deploy-context/deploy/git.rb +6 -0
- data/lib/deploy-context/deploy/ruby.rb +7 -3
- 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: b5fe0295b5cabe789bc115ffb11b86f012c95d9f573f37e4cb0e18b29f32418f
|
4
|
+
data.tar.gz: 5a1edf1684e173efed6817ccd509daa78da8e4fec11702f11b5d26f079ae64a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c379ebf031e221efce7e8f659bf16db9a7f9e5b52e11b3669036361340b61e910556344a3ee1b3c339eb6b386e410de1c9d0e02a9d8def2f364fd2dfac7fa50
|
7
|
+
data.tar.gz: 13fddebaf8f703ef07979874a510e31957faec9fc9caccab2ddde0276ed35449c8d57dc143f02ecbbcd06848b737341827d84c58953a619597a2d28f0e692cc7
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -41,5 +41,11 @@ module Context
|
|
41
41
|
# git ['log', "v#{context.version}"]
|
42
42
|
git ['ls-remote origin', "v#{context.version}"]
|
43
43
|
end
|
44
|
+
|
45
|
+
def git_dirty_state?(context)
|
46
|
+
Dir.chdir(context.context_folder)
|
47
|
+
# git ['log', "v#{context.version}"]
|
48
|
+
`git status --porcelain`.split('\n').count > 0
|
49
|
+
end
|
44
50
|
end
|
45
51
|
end
|
@@ -12,9 +12,9 @@ module Context
|
|
12
12
|
def ruby_release(context)
|
13
13
|
Dir.chdir context.context_folder
|
14
14
|
# gem ["push #{context.context_name}-#{GVB.version}.gem"]
|
15
|
-
context.patch_bump if gem_installed?(context)
|
15
|
+
# context.patch_bump if gem_installed?(context)
|
16
16
|
rake ['release']
|
17
|
-
context.commit
|
17
|
+
# context.commit
|
18
18
|
end
|
19
19
|
|
20
20
|
def ruby_install(context)
|
@@ -53,8 +53,12 @@ module Context
|
|
53
53
|
def ruby_cycle(context)
|
54
54
|
if context.new_update_available?
|
55
55
|
context.clean
|
56
|
+
if git_dirty_state?(context)
|
57
|
+
context.patch_bump
|
58
|
+
context.commit
|
59
|
+
end
|
56
60
|
context.build
|
57
|
-
context.commit
|
61
|
+
# context.commit
|
58
62
|
context.release
|
59
63
|
context.wait_until_release_available
|
60
64
|
context.install
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|