bumperok 0.0.3 → 0.0.4
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/bumper.rb +6 -5
- 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: bd51fec075c5a221ac72f2ac49c1a5f645f1df98
|
4
|
+
data.tar.gz: f0d0fb2771667275f54375fb7fdfaddd91083663
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f0385b1c312ee32a7b382f2e515b00bb7f00852bbf25a3a70d64e206bd09c6f5f327f25ffa46f745cdc4d878aaf739e82aa673824fcf77082a0ed93e789b382
|
7
|
+
data.tar.gz: 1caaa21255fe078f449b5381f2d1db471369004d86aea0b5c99b5b299b524dc88ca8eda787219ecce2485146412ee108ad5dda6e720fe49c04078197abf67bbf
|
data/lib/bumper.rb
CHANGED
@@ -4,7 +4,7 @@ require 'git-ssh-wrapper'
|
|
4
4
|
require 'jenkins_api_client'
|
5
5
|
|
6
6
|
class Bumper
|
7
|
-
VERSION = "0.0.
|
7
|
+
VERSION = "0.0.4"
|
8
8
|
|
9
9
|
def self.tag git_path, tag_name
|
10
10
|
wrapper = GitSSHWrapper.with_wrapper(private_key_path: '~/.ssh/bumber_at_sibext', log_level: 'ERROR') do |w|
|
@@ -29,10 +29,11 @@ class Bumper
|
|
29
29
|
w.set_env
|
30
30
|
`rm -Rf git_with_submodule`
|
31
31
|
`git clone --recursive #{git} git_with_submodule`
|
32
|
-
`git submodule update --remote #{name}`
|
33
|
-
`git checkout -b UpdateFrom#{display}`
|
34
|
-
`git commit -am'New updates from #{display}'`
|
35
|
-
`git push -f origin UpdateFrom#{display}`
|
32
|
+
`git submodule update --remote #{name} --work-tree=git_with_submodule`
|
33
|
+
`git checkout -b UpdateFrom#{display} --work-tree=git_with_submodule`
|
34
|
+
`git commit -am'New updates from #{display}' --work-tree=git_with_submodule`
|
35
|
+
`git push -f origin UpdateFrom#{display} --work-tree=git_with_submodule`
|
36
|
+
`git branch -D UpdateFrom#{display} --work-tree=git_with_submodule`
|
36
37
|
end
|
37
38
|
|
38
39
|
end
|