fastlane-plugin-wpmreleasetoolkit 12.3.0 → 12.3.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d1ae017f2f4ff6698ebb16ece9e728b7d374753e7e83ba9b4a895ad7fb3672f
|
4
|
+
data.tar.gz: 8b7520329b13a56256f7201cbffc1223650d27bbf08647445ede487e7041b956
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce09a3110689bc2808c7bc9df9f523b098d6aa8f424a5fd9702b2cff7e35d07127fba7794c3ee41c27813ac416da737795958c0545b7e2639baab25bf29c030d
|
7
|
+
data.tar.gz: 3db61d5ac271629ee125f96b1ff426e346906d2074330ba6d27fda2048438fb1aa2984085867e849e95a8ec69bff5a83e8c37c1df66b0604a32029894ef6441e
|
@@ -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
|
|
@@ -10,11 +10,10 @@ module Fastlane
|
|
10
10
|
module Actions
|
11
11
|
class ConfigureApplyAction < Action
|
12
12
|
def self.run(params = {})
|
13
|
-
# Preflight
|
14
|
-
UI.user_error!('Decryption key could not be found') if Fastlane::Helper::ConfigureHelper.encryption_key.nil?
|
15
|
-
|
16
13
|
# Checkout the right commit hash etc. before applying the configuration
|
17
14
|
prepare_repository do
|
15
|
+
UI.user_error!('Decryption key could not be found') if Fastlane::Helper::ConfigureHelper.encryption_key.nil?
|
16
|
+
|
18
17
|
# Copy/decrypt the files
|
19
18
|
files_to_copy.each do |file_reference|
|
20
19
|
apply_file(file_reference, params[:force])
|
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.2
|
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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|