Skip to content

Commit b5b5d10

Browse files
committed
fix: make version parameter optional in release workflow
1. Changed the 'version' parameter from required to optional in the GitHub Actions workflow 2. This provides more flexibility when triggering releases 3. Allows for cases where version might be determined programmatically or isn't needed 4. Maintains backward compatibility while adding more workflow options fix: 在发布工作流中将版本参数设为可选 1. 将 GitHub Actions 工作流中的 'version' 参数从必填改为可选 2. 这为触发发布提供了更大的灵活性 3. 允许版本号通过程序确定或不需要版本号的情况 4. 在添加更多工作流选项的同时保持向后兼容性
1 parent 95127ae commit b5b5d10

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)