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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c3353c9cfa8bd2f52f3e83bf2164fcca9b456d21e0c2af5e353bdfedaa5e3aa
4
- data.tar.gz: d8d0e611726eb4cf58e76ffbabebcf48eb0a04af9126074cb340c8660b44a01c
3
+ metadata.gz: b5fe0295b5cabe789bc115ffb11b86f012c95d9f573f37e4cb0e18b29f32418f
4
+ data.tar.gz: 5a1edf1684e173efed6817ccd509daa78da8e4fec11702f11b5d26f079ae64a5
5
5
  SHA512:
6
- metadata.gz: b811bba4756a5d3f6eeed3b3c7e2aeef13e579abb34802e4a132b3532399d4e704b7edbfcb0de479a5680cd679db2a2ad2c45edc6a9e4f2047ca72910181d793
7
- data.tar.gz: d5f22857f3d3b3c3c17ca0b204cfef4e43fd46937fdcba037605d3a0630daaf7ca8796572805420818630d5188c794438ac922806ff84fe166bee803f94cab84
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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy-context
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.14
4
+ version: 2.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Provencher
metadata.gz.sig CHANGED
Binary file