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: bd7622da309b11a1d3f03e67692147361bc620cd3b9ecb0fa6d9b923cd5e8c15
4
- data.tar.gz: 662c4964c041947dd71506cee2aeb6c01bfaf2ae35281ff41192ab1231c82201
3
+ metadata.gz: 5d1ae017f2f4ff6698ebb16ece9e728b7d374753e7e83ba9b4a895ad7fb3672f
4
+ data.tar.gz: 8b7520329b13a56256f7201cbffc1223650d27bbf08647445ede487e7041b956
5
5
  SHA512:
6
- metadata.gz: 891584b03637c76ea99ef7843db8639a8154565efd90e9339167f8edf40d7e24fc53c371c42f8e0de06f32fb6050010288b367920b326d9c34beec60d78fb9b4
7
- data.tar.gz: 3e8d0bc1db3db2e76c64ed79285113d63fdad4ffcd08cc7444c741aedf62611a194c47f73ea0c35246320855e5cc3e77e302fbf789c86f3de0378adb4682261e
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 URLS to PRs/Issues with shorthand, because GitHub does not render them properly otherwise.
13
- release_notes.gsub!(%r{https://github.com/([^/]*/[^/]*)/(pulls?|issues?)/([0-9]*)}, '\1#\3')
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])
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Fastlane
4
4
  module Wpmreleasetoolkit
5
- VERSION = '12.3.0'
5
+ VERSION = '12.3.2'
6
6
  end
7
7
  end
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.0
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-10-31 00:00:00.000000000 Z
11
+ date: 2024-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport