bumperok 0.0.5 → 0.0.6

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 +3 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 228769945ea6cb431bb0315cc706d4278a924523
4
- data.tar.gz: e525e97fc5556f3c4e9fae63e290af5837a8022a
3
+ metadata.gz: 7a58da71ee9df7d8152a29de20f1c64aad60a12e
4
+ data.tar.gz: 8f275af97f0a3b731bac97377f65895595c20025
5
5
  SHA512:
6
- metadata.gz: 088da4e585d4f6b64342db0a86b2e8a8584bfddeb4c66462ac8c4f01e9720a4f31c4073c37dc5bd7326311596da37a9d794f48cee5a148e5565b2d018ab1d84f
7
- data.tar.gz: d4941c3cc17e5d6e615dd3dab87acd4b9330116a55a3704e91131fd1b54231aedf71b7979fa1557b8eea3d31e28b556d3695c50b90270459dd7f82010e559488
6
+ metadata.gz: 77bd5e8c4327b4e7ff72ca1dd274e62f6cd61138d287ab40444d5e768536d06919049655bd907149abaa79aaaaa8db74e31873ac4eb0929c73e8ff4cebfc6824
7
+ data.tar.gz: 3486a1a30fa028e6212468c9af0b2031202af9b33e1da4c0bf31177c78b0e358c9891b26e9bce59d24765ca8c6a256f1324305cce62370232e939783f70df79a
data/bin/bumper CHANGED
@@ -50,6 +50,6 @@ when 'submodule'
50
50
  if options.git_url and options.git_submodule
51
51
  Bumper.submodule_update_version(options.git_submodule, options.git_submodule, options.git_url)
52
52
  end
53
- eelse
53
+ else
54
54
  raise "#{options.cmd} is unsupported command"
55
55
  end
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.5"
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
 
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.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikolay Moskvin