You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ _None_
10
10
11
11
### New Features
12
12
13
-
_None_
13
+
- Added optional `name` parameter to `create_github_release` action, allowing a custom release title independent of the git tag. Defaults to `version` for backward compatibility. [#703]
Copy file name to clipboardExpand all lines: lib/fastlane/plugin/wpmreleasetoolkit/actions/common/create_github_release_action.rb
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ def self.run(params)
28
28
url=github_helper.create_release(
29
29
repository: repository,
30
30
version: version,
31
+
name: params[:name],
31
32
target: params[:target],
32
33
description: release_notes,
33
34
assets: assets,
@@ -64,9 +65,13 @@ def self.available_options
64
65
type: String),
65
66
FastlaneCore::ConfigItem.new(key: :version,
66
67
env_name: 'GHHELPER_CREATE_RELEASE_VERSION',
67
-
description: 'The version of the release',
68
+
description: 'The version of the release. Used as the git tag name',
68
69
optional: false,
69
70
type: String),
71
+
FastlaneCore::ConfigItem.new(key: :name,
72
+
description: 'The display name (title) of the GitHub release. Defaults to the version if not provided',
73
+
optional: true,
74
+
type: String),
70
75
FastlaneCore::ConfigItem.new(key: :target,
71
76
env_name: 'GHHELPER_TARGET_COMMITISH',
72
77
description: 'The branch name or commit SHA the new tag should point to - if that tag does not exist yet when publishing the release. If omitted, will default to the current HEAD commit at the time of this call',
0 commit comments