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 +4 -4
- data/bin/git-pr-release +4 -1
- data/git-pr-release.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25e61ea0de0b4c0a86add998ea368aa7f0c4990c
|
4
|
+
data.tar.gz: 8e5576b5ef6b8fccf357cee526d6b15de1638351
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad8b7dc51f8f97763dd36c6a6e5131765416c09cd88706f2592758cbb85393d196161613206be7afa0753cdc3972edb5d9f6866b2b91c7c8434b8d7000d6f750
|
7
|
+
data.tar.gz: 60aa8e2445935e2fae090f8ccf7f02e61078c734fa7418afe182e6bf3e2be5eea1e8c34974ab8672349cda89c7e6abd6df35285afdef8b48ef2fa8132037802c
|
data/bin/git-pr-release
CHANGED
@@ -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
|
|
data/git-pr-release.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
11
|
+
date: 2017-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|