fastlane-plugin-wpmreleasetoolkit 14.2.0 → 14.3.0
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: 25c6754ebf31ec2822f39873e7dc41120dccc614016314951d7fd719938afdb6
|
|
4
|
+
data.tar.gz: 998867593c4e85e833b34569488a1a73a4bf3bd5608dca7661de897102f207a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 13d215afbde508cd4ff34a2deab433f3410b09171ab1bae6d21f2d52b3d75ea9bdb9fab2137fef37e2c11901876b648e1e7e5a63a05970408eae697fc8d943c9
|
|
7
|
+
data.tar.gz: 20b9641253d9da288801e27bb587ba8489446ff1ab60a43255500820c2a367f9510c6e69ad1bc2b8f001a5800b66d309c8a1fd6733fee84d7158bf9773747d8d
|
|
@@ -10,8 +10,11 @@ module Fastlane
|
|
|
10
10
|
require_relative '../../helper/release_notes_helper'
|
|
11
11
|
require_relative '../../helper/git_helper'
|
|
12
12
|
|
|
13
|
+
UI.user_error!('You must provide a non-empty value for either `next_version` or `new_version`') if params[:next_version].to_s.strip.empty? && params[:new_version].to_s.strip.empty?
|
|
14
|
+
|
|
13
15
|
path = params[:release_notes_file_path]
|
|
14
|
-
next_version =
|
|
16
|
+
next_version = params[:next_version]&.strip
|
|
17
|
+
next_version = Fastlane::Helper::Android::VersionHelper.calc_next_release_short_version(params[:new_version]) if next_version.nil? || next_version.empty?
|
|
15
18
|
|
|
16
19
|
Fastlane::Helper::ReleaseNotesHelper.add_new_section(path: path, section_title: next_version)
|
|
17
20
|
Fastlane::Helper::GitHelper.commit(message: "Release Notes: add new section for next version (#{next_version})", files: path)
|
|
@@ -36,6 +39,18 @@ module Fastlane
|
|
|
36
39
|
FastlaneCore::ConfigItem.new(key: :new_version,
|
|
37
40
|
env_name: 'FL_ANDROID_UPDATE_RELEASE_NOTES_VERSION',
|
|
38
41
|
description: 'The version we are currently freezing; An empty entry for the _next_ version after this one will be added to the release notes',
|
|
42
|
+
deprecated: 'Deprecated in favor of `next_version`. ' \
|
|
43
|
+
'The `new_version` parameter computes the next version using a built-in calculator ' \
|
|
44
|
+
'that assumes the minor version rolls over to the next major at 9, which is incorrect for apps using semantic versioning',
|
|
45
|
+
optional: true,
|
|
46
|
+
conflicting_options: [:next_version],
|
|
47
|
+
type: String),
|
|
48
|
+
FastlaneCore::ConfigItem.new(key: :next_version,
|
|
49
|
+
description: 'The next version to use as the section title in the release notes. ' \
|
|
50
|
+
'This value is used directly as the section title. ' \
|
|
51
|
+
'Use this if your app does not follow the default versioning convention (minor capped at 9)',
|
|
52
|
+
optional: true,
|
|
53
|
+
conflicting_options: [:new_version],
|
|
39
54
|
type: String),
|
|
40
55
|
FastlaneCore::ConfigItem.new(key: :release_notes_file_path,
|
|
41
56
|
env_name: 'FL_ANDROID_UPDATE_RELEASE_NOTES_FILE_PATH',
|
|
@@ -10,8 +10,11 @@ module Fastlane
|
|
|
10
10
|
require_relative '../../helper/release_notes_helper'
|
|
11
11
|
require_relative '../../helper/git_helper'
|
|
12
12
|
|
|
13
|
+
UI.user_error!('You must provide a non-empty value for either `next_version` or `new_version`') if params[:next_version].to_s.strip.empty? && params[:new_version].to_s.strip.empty?
|
|
14
|
+
|
|
13
15
|
path = params[:release_notes_file_path]
|
|
14
|
-
next_version =
|
|
16
|
+
next_version = params[:next_version]&.strip
|
|
17
|
+
next_version = Fastlane::Helper::Ios::VersionHelper.calc_next_release_version(params[:new_version]) if next_version.nil? || next_version.empty?
|
|
15
18
|
|
|
16
19
|
Fastlane::Helper::ReleaseNotesHelper.add_new_section(path: path, section_title: next_version)
|
|
17
20
|
Fastlane::Helper::GitHelper.commit(message: "Release Notes: add new section for next version (#{next_version})", files: path)
|
|
@@ -36,6 +39,18 @@ module Fastlane
|
|
|
36
39
|
FastlaneCore::ConfigItem.new(key: :new_version,
|
|
37
40
|
env_name: 'FL_IOS_UPDATE_RELEASE_NOTES_VERSION',
|
|
38
41
|
description: 'The version we are currently freezing; An empty entry for the _next_ version after this one will be added to the release notes',
|
|
42
|
+
deprecated: 'Deprecated in favor of `next_version`. ' \
|
|
43
|
+
'The `new_version` parameter computes the next version using a built-in calculator ' \
|
|
44
|
+
'that assumes the minor version rolls over to the next major at 9, which is incorrect for apps using semantic versioning',
|
|
45
|
+
optional: true,
|
|
46
|
+
conflicting_options: [:next_version],
|
|
47
|
+
type: String),
|
|
48
|
+
FastlaneCore::ConfigItem.new(key: :next_version,
|
|
49
|
+
description: 'The next version to use as the section title in the release notes. ' \
|
|
50
|
+
'This value is used directly as the section title. ' \
|
|
51
|
+
'Use this if your app does not follow the default versioning convention (minor capped at 9)',
|
|
52
|
+
optional: true,
|
|
53
|
+
conflicting_options: [:new_version],
|
|
39
54
|
type: String),
|
|
40
55
|
FastlaneCore::ConfigItem.new(key: :release_notes_file_path,
|
|
41
56
|
env_name: 'FL_IOS_UPDATE_RELEASE_NOTES_FILE_PATH',
|
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: 14.
|
|
4
|
+
version: 14.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Automattic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|