takeltau 0.39.16 → 0.40.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d954acca5a410dcd961154463864bc7368752fcae20f2ef837a3a8de71cdce78
4
- data.tar.gz: 51fdda97c3c74121a4b0c6e6302b75941304b2676c0f3fbaa11384c7fa292334
3
+ metadata.gz: 929ad40ad20fd6ae1e2aeaef4eaaa3eafaa0f9b476d1d0f92901ef49e6af6e3a
4
+ data.tar.gz: 87adb2c1139c2def6b928a9434768cc7ab9d52f015a648665c6084a37e345dcd
5
5
  SHA512:
6
- metadata.gz: f7c3d8d019d6d433d04f3ebe58edc227503b4212f19af3ebdf3cf155b26ac831f29a1d158314312f8490a2a41b58cd76de8d0df57e0de9e0ff62bcd393233c3b
7
- data.tar.gz: ddbd01a435c6409566286153fc9feb11721eb743e7d1634011f3766c7f8342eba67c66ef3e546cdb2b52eaa0097410c26d8cf0c36fe94e940fef965ce9a52b1f
6
+ metadata.gz: 2e416a739482f1e0fcfaa302cd1cf02d21f9bccc363412eafc5a3ddac95c990caed84e9ed4cf90593b0f193f207baa7bcd2edfd8a87c02c253035069343289e3
7
+ data.tar.gz: ecf3dacdc81f6a60924517bbe9b70bf937c65eab9e007758158c1d25ef21688dce64e46c87fab63265bd16c6372f2f89414570917210d4a13a369d2df5a879c2
@@ -33,7 +33,9 @@ module GitLib
33
33
  message = 'Update .hg mercurial directories'
34
34
 
35
35
  return false unless _git_lib_git_add_hg_dirs
36
- return false unless _git_lib_git_commit message
36
+
37
+ # Do not fail or a clean workspace triggers a return
38
+ _git_lib_git_commit message
37
39
 
38
40
  return true if _git_lib_git_push_origin_hg
39
41
 
@@ -8,10 +8,7 @@ module HgPull
8
8
 
9
9
  return false unless git_lib_prepare_git_workspace
10
10
 
11
- unless _hg_pull_hg_pull_repos
12
- log.error 'Unable to tau hg pull'
13
- return false
14
- end
11
+ _hg_pull_hg_pull_repos
15
12
 
16
13
  git_lib_push_hg_dirs
17
14
  end
@@ -25,8 +22,6 @@ module HgPull
25
22
  root: config.active['project_root_dir']
26
23
  )
27
24
 
28
- stdout, _, exitstatus = run_and_capture cmd_hg_pull_repos
29
- log.info stdout
30
- exitstatus.zero?
25
+ log.info run cmd_hg_pull_repos
31
26
  end
32
27
  end
@@ -8,10 +8,7 @@ module HgPush
8
8
 
9
9
  return false unless git_lib_prepare_git_workspace
10
10
 
11
- unless _hg_push_hg_push_repos
12
- log.error 'Unable to tau hg push'
13
- return false
14
- end
11
+ _hg_push_hg_push_repos
15
12
 
16
13
  git_lib_push_hg_dirs
17
14
  end
@@ -25,8 +22,6 @@ module HgPush
25
22
  root: config.active['project_root_dir']
26
23
  )
27
24
 
28
- stdout, _, exitstatus = run_and_capture cmd_hg_push_repos
29
- log.info stdout
30
- exitstatus.zero?
25
+ log.info run cmd_hg_push_repos
31
26
  end
32
27
  end
data/lib/takeltau/version CHANGED
@@ -1 +1 @@
1
- 0.39.16
1
+ 0.40.3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: takeltau
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.16
4
+ version: 0.40.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takelwerk