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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bumper.rb +6 -5
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af6cce691f8bbb11bb6223153036ce906064cbfe
4
- data.tar.gz: fd99cf9b4a93c5815f179d0ff176c9def9264f25
3
+ metadata.gz: bd51fec075c5a221ac72f2ac49c1a5f645f1df98
4
+ data.tar.gz: f0d0fb2771667275f54375fb7fdfaddd91083663
5
5
  SHA512:
6
- metadata.gz: 4262d79427ebe11ac83178ad34a39085d7bf9a11a7aaa951cbb2be26feae421b894b55d1dba0670049737d3ae223d5e3ae263a94265aa24780cbbe6daf7aaf59
7
- data.tar.gz: 1353a73524664b47014b83dcc740baec91bdd11a5a089ca100a140d07eb907b13a5671c8419b4cdb357d328e73a7318a764ce7cc83a21f30a040ed17a56e6201
6
+ metadata.gz: 6f0385b1c312ee32a7b382f2e515b00bb7f00852bbf25a3a70d64e206bd09c6f5f327f25ffa46f745cdc4d878aaf739e82aa673824fcf77082a0ed93e789b382
7
+ data.tar.gz: 1caaa21255fe078f449b5381f2d1db471369004d86aea0b5c99b5b299b524dc88ca8eda787219ecce2485146412ee108ad5dda6e720fe49c04078197abf67bbf
@@ -4,7 +4,7 @@ require 'git-ssh-wrapper'
4
4
  require 'jenkins_api_client'
5
5
 
6
6
  class Bumper
7
- VERSION = "0.0.3"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bumperok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikolay Moskvin