fastlane-plugin-wpmreleasetoolkit 15.4.0 → 15.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd6cd903b356f44324f711012ffa75b7814adb1e31e1a4631e4e616bf77518d2
4
- data.tar.gz: 95a989ce4d3e8a88855eb30d52f2c320573957d1321c5c15edd0d0f8b1695368
3
+ metadata.gz: cb4f7156d6d687b7d1f5d1a743e04069410d50481686f1fce26b16fe445cd25d
4
+ data.tar.gz: 49e6ddd32d97c381f3b585a3d24c44d406cf26a2e3ec8b009731fb45e218248d
5
5
  SHA512:
6
- metadata.gz: bdc7407060feede6dd035952dee8f90edfd28a435727a5656f9dbd8e70e968caecbfdbad1ec60c8777543568ed4ef6d1efdc2b9dc7ca3e50f3cd570535afd6b7
7
- data.tar.gz: 5c9eeaa224d8af92149421f6591bfc8cc8fa983fabeb26ad300e358fac418e4e536d5a7864dce84f5cc9d9cd46531b5a155845fd206bcb629252616803c6299b
6
+ metadata.gz: bd6e5ec5ef8d67725831dcb00632f2f8bd9e4fc187ddd1f4545ddecf9072d1b7c625670f1e427d68fe75ecc8b17b618f64bbf35a2fd09d1f400eb4092b06a43b
7
+ data.tar.gz: cf44dc4452c5f3c5472c1412aa1d862e0d604956d1dd0f790e73645d5094f030d2419b9beeaaa31de20139ff58d73b939efda8992d17790e9ec305e685450084
@@ -308,10 +308,13 @@ module Fastlane
308
308
  api_url = "#{repo_path}/releases/generate-notes"
309
309
  res = client.post(
310
310
  api_url,
311
- tag_name: tag_name,
312
- target_commitish: target_commitish, # Only used if no git tag named `tag_name` exists yet
313
- previous_tag_name: previous_tag,
314
- configuration_file_path: config_file_path
311
+ # The API rejects optional fields sent as `null`, so omit unset ones.
312
+ {
313
+ tag_name: tag_name,
314
+ target_commitish: target_commitish, # Only used if no git tag named `tag_name` exists yet
315
+ previous_tag_name: previous_tag,
316
+ configuration_file_path: config_file_path
317
+ }.compact
315
318
  )
316
319
  res.body
317
320
  end
@@ -3,6 +3,6 @@
3
3
  module Fastlane
4
4
  module Wpmreleasetoolkit
5
5
  NAME = 'fastlane-plugin-wpmreleasetoolkit'
6
- VERSION = '15.4.0'
6
+ VERSION = '15.4.1'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-wpmreleasetoolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.4.0
4
+ version: 15.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Automattic