bumperok 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/bumper +1 -1
- data/lib/bumper.rb +3 -2
- 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: 7a58da71ee9df7d8152a29de20f1c64aad60a12e
|
4
|
+
data.tar.gz: 8f275af97f0a3b731bac97377f65895595c20025
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77bd5e8c4327b4e7ff72ca1dd274e62f6cd61138d287ab40444d5e768536d06919049655bd907149abaa79aaaaa8db74e31873ac4eb0929c73e8ff4cebfc6824
|
7
|
+
data.tar.gz: 3486a1a30fa028e6212468c9af0b2031202af9b33e1da4c0bf31177c78b0e358c9891b26e9bce59d24765ca8c6a256f1324305cce62370232e939783f70df79a
|
data/bin/bumper
CHANGED
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.6"
|
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|
|
@@ -30,10 +30,11 @@ class Bumper
|
|
30
30
|
w.set_env
|
31
31
|
`rm -Rf #{project_path}`
|
32
32
|
`git clone --recursive #{git} #{project_path}`
|
33
|
-
`#{git(project_path)} submodule update --remote #{name}`
|
34
33
|
`#{git(project_path)} checkout -b UpdateFrom#{display}`
|
34
|
+
`#{git(project_path)} submodule update --remote #{name}`
|
35
35
|
`#{git(project_path)} commit -am'New updates from #{display}'`
|
36
36
|
`#{git(project_path)} push --force origin UpdateFrom#{display}`
|
37
|
+
`#{git(project_path)} checkout master`
|
37
38
|
`#{git(project_path)} branch -D UpdateFrom#{display}`
|
38
39
|
end
|
39
40
|
|