fastlane-plugin-wpmreleasetoolkit 12.3.0 → 12.3.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 29b49bd4df79d18988c3e1b1b87fa0abaea61430ca6a8a0167d298d39812e52c
|
|
4
|
+
data.tar.gz: b926ccff2acbb0bfd97e334ea3734247320910253dc55de9711fa0bfc6c1d80c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ed448099a4ed93e613cd076178c406c2f7f20dcb85d5c8e6a4df76e9aa5a12527e88a31ea4c5293e7db21d02f950c27cab72925ca70c7578854c76e2b6127ae
|
|
7
|
+
data.tar.gz: 293e5690ff3f8cd488d8128b45f2d96f1ebda0ac02a67b9fceee2779c098ee75913e6b96287498183d311f0a585d93b7447cf9f356e11db7783edd51aedc9ee4
|
|
@@ -9,8 +9,10 @@ module Fastlane
|
|
|
9
9
|
version = params[:version]
|
|
10
10
|
assets = params[:release_assets]
|
|
11
11
|
release_notes = params[:release_notes_file_path].nil? ? '' : File.read(params[:release_notes_file_path])
|
|
12
|
-
# Replace full
|
|
13
|
-
|
|
12
|
+
# Replace full URLs to PRs/Issues that are in `[https://some-url]` brackets with shorthand, because GitHub does not render them properly otherwise.
|
|
13
|
+
# That syntax is sometimes used by devs in `RELEASE-NOTES.txt` when pointing to a PR to another repo (e.g. Gutenberg PR from WP repo).
|
|
14
|
+
# We should NOT transform URLs to PRs/Issues that are in `[text](url)` form (those are valid), only the ones directly in `[]` brackets.
|
|
15
|
+
release_notes.gsub!(%r{\[https://github.com/([^/]*/[^/]*)/(pulls?|issues?)/([0-9]*)\]}, '[\1#\3]')
|
|
14
16
|
prerelease = params[:prerelease]
|
|
15
17
|
is_draft = params[:is_draft]
|
|
16
18
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-wpmreleasetoolkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 12.3.
|
|
4
|
+
version: 12.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Automattic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-11-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|