bumperok 0.0.6 → 0.0.7

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/bumper +1 -1
  3. data/lib/bumper.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a58da71ee9df7d8152a29de20f1c64aad60a12e
4
- data.tar.gz: 8f275af97f0a3b731bac97377f65895595c20025
3
+ metadata.gz: 3302f875a41afa1a6c2fefb262bb245eebf074ce
4
+ data.tar.gz: b28da6abfbd4916ba63a9a0ea70d0bad8609270f
5
5
  SHA512:
6
- metadata.gz: 77bd5e8c4327b4e7ff72ca1dd274e62f6cd61138d287ab40444d5e768536d06919049655bd907149abaa79aaaaa8db74e31873ac4eb0929c73e8ff4cebfc6824
7
- data.tar.gz: 3486a1a30fa028e6212468c9af0b2031202af9b33e1da4c0bf31177c78b0e358c9891b26e9bce59d24765ca8c6a256f1324305cce62370232e939783f70df79a
6
+ metadata.gz: ca4852c7e486634267e4e8a5c13e17cd6dfacb25e049532a63cf79ddaf0b46aed7f7428634884b3edb7814e440a5a316dde2fe4914823fecb318e3e107d47dd2
7
+ data.tar.gz: 4eb9b94a81d75936cc8f50f28f2d3615fe8c70e743d3a772e4883c0c6eb83c2325fc49a057f540e45fb58babbd397d15455d3423099a56923f1364c7b8c56def
data/bin/bumper CHANGED
@@ -48,7 +48,7 @@ when 'build'
48
48
  end
49
49
  when 'submodule'
50
50
  if options.git_url and options.git_submodule
51
- Bumper.submodule_update_version(options.git_submodule, options.git_submodule, options.git_url)
51
+ Bumper.submodule_update_version("#{options.git_submodule[0].upcase}#{options.git_submodule[1..-1]}", options.git_submodule, options.git_url)
52
52
  end
53
53
  else
54
54
  raise "#{options.cmd} is unsupported command"
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.6"
7
+ VERSION = "0.0.7"
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|
@@ -31,7 +31,7 @@ class Bumper
31
31
  `rm -Rf #{project_path}`
32
32
  `git clone --recursive #{git} #{project_path}`
33
33
  `#{git(project_path)} checkout -b UpdateFrom#{display}`
34
- `#{git(project_path)} submodule update --remote #{name}`
34
+ `cd #{project_path} && git 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
37
  `#{git(project_path)} checkout master`
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.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikolay Moskvin