Skip to content

Commit 10c5026

Browse files
18202781743mhduiy
authored andcommitted
fix: make version parameter optional in release workflow
1. Changed the 'version' input parameter from required to optional in the GitHub Actions workflow 2. This provides more flexibility when triggering releases, allowing for cases where version might be determined programmatically or isn't needed 3. Maintains backward compatibility while reducing strict requirements fix: 在发布工作流中将版本参数设为可选 1. 将 GitHub Actions 工作流中的 'version' 输入参数从必填改为可选 2. 这为触发发布提供了更大的灵活性,适用于版本可能通过程序确定或不需要的 情况 3. 在减少严格限制的同时保持了向后兼容性
1 parent 37b5a87 commit 10c5026

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/call-auto-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
version:
66
description: 'Release version (e.g., 1.0.0)'
77
type: string
8-
required: true
8+
required: false
99
name:
1010
description: 'The name of the person to release the version'
1111
type: string

0 commit comments

Comments
 (0)