git-pr-release 1.8.0 → 1.9.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: cd65bf0b5593cadffc3eaca21920f47a60e98326f5e2a020663c2327052dea0e
4
- data.tar.gz: 2d6e584fcab1cb4fa1682b3b420c846182cf4e7e7bf240beb82ca0e2666aa00f
3
+ metadata.gz: af2e7e05f02c6332bb6d9387656365f71d87fc05497586d42ec843d7ea68dc39
4
+ data.tar.gz: 43022545e4eca298c534290af2945c86a7fc16999988cc9c70dda111e1ffa9c3
5
5
  SHA512:
6
- metadata.gz: fb186c01e62ac87de4b1e808fbd8e25b42666c3066630cfb4de2ee5deaf133deacc1960df6cbf92080eaa2da881feec18ebaa4a5df7efe5408abcb9c23b7f046
7
- data.tar.gz: b053c6e80448961020cf67d3de61e8115950703f4ace3e5caacc9348a7893661bbc33615426d1ac32fa21e26f59ed4bf220fe83db4cbcd133e85bf283abdc8a8
6
+ metadata.gz: 77a6a014d70cd7e38624accb771823546864b8bd5c6b3db0eebf3227f8779f73c881cbf330f9e04b62e3cff57186c95c960a8d8ead1db1ce22df6cf26c6d49c5
7
+ data.tar.gz: fcc864139b09acca3236053832c6cdea2971d6ffe0bbd24e387d6d00ed47852b891d02a878d002d0f93cf4ac31b75dc6220846a281b83bc7fd8dc980924ee058
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # git-pr-release
2
2
 
3
+ ## v1.9.0 (2021-08-04)
4
+
5
+ [full changelog](https://github.com/x-motemen/git-pr-release/compare/v1.8.0...v1.9.0)
6
+
7
+ * (#68) Add nil check for release\_pr.body (@w1mvy)
8
+
3
9
  ## v1.8.0 (2021-06-24)
4
10
 
5
11
  [full changelog](https://github.com/x-motemen/git-pr-release/compare/v1.7.0...v1.8.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.8.0'
7
+ spec.version = '1.9.0'
8
8
  spec.authors = ["motemen"]
9
9
  spec.email = ["motemen@gmail.com"]
10
10
  spec.summary = 'Creates a release pull request'
@@ -176,7 +176,7 @@ module Git
176
176
 
177
177
  def build_and_merge_pr_title_and_body(release_pr, merged_prs, changed_files)
178
178
  # release_pr is nil when dry_run && create_mode
179
- old_body = release_pr ? release_pr.body : ""
179
+ old_body = (release_pr && release_pr.body != nil) ? release_pr.body : ""
180
180
  pr_title, new_body = build_pr_title_and_body(release_pr, merged_prs, changed_files, template_path)
181
181
 
182
182
  [pr_title, merge_pr_body(old_body, new_body)]
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.8.0
4
+ version: 1.9.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-06-24 00:00:00.000000000 Z
11
+ date: 2021-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit