Skip to content

Commit 571fe81

Browse files
authored
Update immutableCreate's default in the documentation (#547)
The default of `immutableCreate` changed from `true` to `false` in version 1.9.1
1 parent 1c89adf commit 571fe81

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This action will create a GitHub release and optionally upload an artifact to it
2525
| discussionCategory | When provided this will generate a discussion of the specified category. The category must exist otherwise this will cause the action to fail. This isn't used with draft releases. The default "Announcements" category is not supported via the API and will cause an error if used here. | false | "" |
2626
| draft | Optionally marks this release as a draft release. Set to true to enable. | false | "" |
2727
| generateReleaseNotes | Indicates if release notes should be automatically generated. | false | false |
28-
| immutableCreate | Indicates if immutable release creation should be used. When enabled, the action will first create a draft, upload artifacts, then publish the release. | false | true |
28+
| immutableCreate | Indicates if immutable release creation should be used. When enabled, the action will first create a draft, upload artifacts, then publish the release. | false | false |
2929
| makeLatest | Indicates if the release should be the "latest" release or not. legacy specifies that the latest release should be determined based on the release creation date and higher semantic version. | false | "legacy" |
3030
| name | An optional name for the release. If this is omitted the tag will be used. | false | "" |
3131
| omitBody | Indicates if the release body should be omitted. | false | false |

README.zh-Hans.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
| discussionCategory | 当提供该选项时,将生成指定类别的 discussion。指定的类别必须存在,否则将导致 Action 失败。这对草案状态的发布不生效。API 不支持默认的 Announcement 分类,使用这个分类会引发错误。 | false | "" |
2727
| draft | 可选择将此版本标记为草稿版本。 设置为 true 以启用。 | false | "" |
2828
| generateReleaseNotes | 指示是否应自动生成发行说明。 | false | false |
29-
| immutableCreate | 指示是否应使用不可变发布创建。启用时,操作将首先创建草稿,上传产出文件,然后发布版本。 | false | true |
29+
| immutableCreate | 指示是否应使用不可变发布创建。启用时,操作将首先创建草稿,上传产出文件,然后发布版本。 | false | false |
3030
| makeLatest | 指示是否将这个发布设置为 latest。使用"lagecy"值则会根据发布时间和语义化版本号自动决定。 | false | "legacy" |
3131
| name | 版本的可选名称。 如果省略,将使用标签。 | false | "" |
3232
| omitBody | 指示是否应省略发布主体。 | false | false |

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ inputs:
5050
immutableCreate:
5151
description: 'Indicates if immutable release creation should be used. When enabled, the action will first create a draft, upload artifacts, then publish the release.'
5252
required: false
53-
default: 'true'
53+
default: 'false'
5454
makeLatest:
5555
description: 'Indicates if the release should be the "latest" release or not.'
5656
required: false

0 commit comments

Comments
 (0)