git-pr-release 1.6.0 → 1.7.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: 54aeb2f71e8311efc9d48ea98c695496ddf9a9755d23aa822078484384b83329
4
- data.tar.gz: ee8358c06dc99f8d15983c81f9725c50111af8697253fcc39c66bf2eef3099d7
3
+ metadata.gz: 50f0bc6156728f1409b494f7d58c93574f8d022c452e935e245c8c36fa083e02
4
+ data.tar.gz: bc9a65dc34ac07b069885daaea51e81082045da6a5d152d10bafaea3e4dc2ca4
5
5
  SHA512:
6
- metadata.gz: 594733c2d859ec97b8573df6bfb805df8ad83ffde7e1f80afde7bdc889c1f73b1641f54d047657d58b9cea54c3a24375e56cac6088326fe24f28843be756bfda
7
- data.tar.gz: '09f9266b8d49b75a8fc2981b524df7a8bfb3bffd100c258ac4d660a1fa6cf3906af51f4ad913ae7ba86a3c13f6b1ec27fb9ce7c59e4e7fde49e9f204544604c8'
6
+ metadata.gz: 56c638066c3cca4b0732bb2ac8ec86139d18ba3ef5c9d1ee05f112b737e996395171f6c3998ffa82532fe7de457f7cad754f6efd6a023eb808d7c64aa9f54190
7
+ data.tar.gz: b80feeefd29cf5326b7cb83fcb7a2d6c52e0ec3a63aa7a068a1a335f21180c515d75f7f64000c63fb363b11dea21f6dacc60e2959a331ebf76b9cbb8410b0271
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # git-pr-release
2
2
 
3
+ ## v1.7.0 (2021-05-24)
4
+
5
+ [full changelog](https://github.com/x-motemen/git-pr-release/compare/v1.6.0...v1.7.0)
6
+
7
+ * (#64) fix wrong pr number due to sleep (@mpon)
8
+
3
9
  ## v1.6.0 (2021-05-15)
4
10
 
5
11
  [full changelog](https://github.com/x-motemen/git-pr-release/compare/v1.5.0...v1.6.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.6.0'
7
+ spec.version = '1.7.0'
8
8
  spec.authors = ["motemen"]
9
9
  spec.email = ["motemen@gmail.com"]
10
10
  spec.summary = 'Creates a release pull request'
@@ -124,8 +124,8 @@ module Git
124
124
 
125
125
  def fetch_merged_pr_numbers_from_github
126
126
  git(:log, '--pretty=format:%H', "origin/#{production_branch}..origin/#{staging_branch}").map(&:chomp).map do |sha1|
127
- client.search_issues("repo:#{repository} is:pr is:closed #{sha1}")[:items].map(&:number)
128
127
  sleep 1
128
+ client.search_issues("repo:#{repository} is:pr is:closed #{sha1}")[:items].map(&:number)
129
129
  end.flatten
130
130
  end
131
131
 
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.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - motemen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-14 00:00:00.000000000 Z
11
+ date: 2021-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit