jenkins-bundle-update-pr 0.1.5 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f2a9c8cd37cb4193ad18a5c7e57a3038fbae4d6b
4
- data.tar.gz: f7f4452e51584f83f3364571430857c08ac2cfe8
3
+ metadata.gz: 6bb92cfb276eee54b1bba8bf912e91c2b5ed1402
4
+ data.tar.gz: beb3c91f0bc1ae6f08af152e2a7a4310aab300d4
5
5
  SHA512:
6
- metadata.gz: a63dac7ea1356318f15b00fb5ba4a633e90f37ef5a0fa5b7b998018904cbd29dc4fef3c279c49aef61a022bf5fdeea8980fb6a7f246b6743761e5a053570fe92
7
- data.tar.gz: 3b5542fa1bf94a63d72b0a936dec5db2c4d016ab55e9e996bcf610affe70a478afb31f2558e65a6a1d8ae0de88fb21ca6701336f84b914561847e4c4210f5205
6
+ metadata.gz: 217612e29cf6c90343dbe8866d61de6b13576a9ff8678ffca6bcfd20992a499b11db44141c21d8001530f999ca4b4428c2f66943451ec71112120fb1d497c5f7
7
+ data.tar.gz: 12df12fba85e14146a5b44f807a1196f89bdcd4e783e501f6653991b5f2c08412be162b281a58afb9108e1872d424bdedd116f9d596efef47f4052eda90cf66d
@@ -100,7 +100,8 @@ module Jenkins
100
100
  system("git config user.name #{git_username}")
101
101
  system("git config user.email #{git_email}")
102
102
  system("git checkout -b #{branch}")
103
- system('git add Gemfile.lock config/Gemfile.lock')
103
+ system('git add Gemfile.lock') if File.exist?('Gemfile.lock')
104
+ system('git add config/Gemfile.lock') if File.exist?('config/Gemfile.lock')
104
105
  system("git commit -m 'bundle update'")
105
106
  system("git push origin #{branch}")
106
107
  end
@@ -4,7 +4,7 @@ module Jenkins
4
4
  module Bundle
5
5
  module Update
6
6
  module Pr
7
- VERSION = '0.1.5'
7
+ VERSION = '0.1.6'
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jenkins-bundle-update-pr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hidekazu Tanaka
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-15 00:00:00.000000000 Z
11
+ date: 2018-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compare_linker