git-pr-release 1.3.0 → 1.4.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
  SHA256:
3
- metadata.gz: e33d1ea2c64af057158fbce13615bb5f0040811801eec4267587ec8fa607efe9
4
- data.tar.gz: b4ccb5f60060d243493b801064078c00c3b2f268ca3d1d29ab62230c85920469
3
+ metadata.gz: fcfff97226a267200239ba145f57f35a4a75b1729f830022b20bd6933ba11cd6
4
+ data.tar.gz: 7e30e4a4932b9275c4025bc07cb51a5a10f5c81aad8882076c7df477f54069ea
5
5
  SHA512:
6
- metadata.gz: 14daa45f4fc295d4a70d7620169cea02d0141826758ab092c4012bc764e7b667d10afd37b0764ca50f0f056424b9c17412bc9a0e01832deea268e772d104e1d8
7
- data.tar.gz: 9f2752371c7913bf0a0822a54ce4115c65cef08d1e2ba34a80902c44c311950e63450f8c37d94656d63612ce72fb03ae5e9baca2c71ccc6e7877c2cc93c97672
6
+ metadata.gz: 82a273849c7f74b9c1000062cba072e898089e54a07d35be0109a5e3e16afcb158c956454462816b98b4504bedb7675654025d44f54be95352940d25346c46ab
7
+ data.tar.gz: 56560282a6aab0db0595d165227974254eb6cf51e591cfcad016efe655ae7a3c3a70ace9e368640c760f6c007c22bfca5ad9e1a923bc5794422b1defc46dc22e
@@ -1,5 +1,11 @@
1
1
  # git-pr-release
2
2
 
3
+ ## v1.4.0 (2020-02-22)
4
+
5
+ [full changelog](https://github.com/motemen/git-pr-release/compare/v1.3.0...v1.4.0)
6
+
7
+ * (#48) List PR API needs head user or head organization and branch name (@sasasin)
8
+
3
9
  ## v1.3.0 (2020-02-19)
4
10
 
5
11
  [full changelog](https://github.com/motemen/git-pr-release/compare/v1.2.0...v1.3.0)
@@ -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 = '1.3.0'
7
+ spec.version = '1.4.0'
8
8
  spec.authors = ["motemen"]
9
9
  spec.email = ["motemen@gmail.com"]
10
10
  spec.summary = 'Creates a release pull request'
@@ -151,7 +151,8 @@ module Git
151
151
 
152
152
  def detect_existing_release_pr
153
153
  say 'Searching for existing release pull requests...', :info
154
- client.pull_requests(repository, head: staging_branch, base: production_branch).first
154
+ user=repository.split("/")[0]
155
+ client.pull_requests(repository, head: "#{user}:#{staging_branch}", base: production_branch).first
155
156
  end
156
157
 
157
158
  def prepare_release_pr
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: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - motemen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-19 00:00:00.000000000 Z
11
+ date: 2020-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit