git-pr-release 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1f03316c1b9acfd0f570e6ce8004d5893f79d32
4
- data.tar.gz: de997f770f69bcec67da024582d3f25059a3c498
3
+ metadata.gz: 25e61ea0de0b4c0a86add998ea368aa7f0c4990c
4
+ data.tar.gz: 8e5576b5ef6b8fccf357cee526d6b15de1638351
5
5
  SHA512:
6
- metadata.gz: faa9ed0a0252be0119586710080ff01e545b0cdd0284a9803f2b45a78c1e8a2a3f020e8455c095b8ac96e7ac6685c4e86ed7b2ddca34bedf327bf98f4f9ea6b0
7
- data.tar.gz: 1733129b7c3515c5714de4455d693257c96b6cd31cfb1a6d125775ef92de4e486d16212e4ba60d22b0f44ddedb9e261452525279cb2e729c70b2769b3ce008d3
6
+ metadata.gz: ad8b7dc51f8f97763dd36c6a6e5131765416c09cd88706f2592758cbb85393d196161613206be7afa0753cdc3972edb5d9f6866b2b91c7c8434b8d7000d6f750
7
+ data.tar.gz: 60aa8e2445935e2fae090f8ccf7f02e61078c734fa7418afe182e6bf3e2be5eea1e8c34974ab8672349cda89c7e6abd6df35285afdef8b48ef2fa8132037802c
@@ -251,6 +251,9 @@ OptionParser.new do |opts|
251
251
  opts.on('--json', 'Show data of target PRs in JSON format') do |v|
252
252
  @json = v
253
253
  end
254
+ opts.on('--no-fetch', 'Do not fetch from remote repo before determining target PRs (CI friendly)') do |v|
255
+ @no_fetch = v
256
+ end
254
257
  end.parse!
255
258
 
256
259
  ### Set up configuration
@@ -264,7 +267,7 @@ say "Staging branch: #{staging_branch}", :debug
264
267
 
265
268
  client = Octokit::Client.new :access_token => obtain_token!
266
269
 
267
- git :remote, 'update', 'origin'
270
+ git :remote, 'update', 'origin' unless @no_fetch
268
271
 
269
272
  ### Fetch merged PRs
270
273
 
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "git-pr-release"
7
- spec.version = '0.2.1'
7
+ spec.version = '0.3.0'
8
8
  spec.authors = ["motemen"]
9
9
  spec.email = ["motemen@gmail.com"]
10
10
  spec.summary = 'Creates a release pull request'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-pr-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - motemen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-07 00:00:00.000000000 Z
11
+ date: 2017-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit