Skip to content

Commit 1e98939

Browse files
committed
fix: 修复检视意见
1 parent ffbf70e commit 1e98939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dispatch-all-publish-alpha.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
script: |
2828
const version = `${{ inputs.version }}`
29-
if(/^\d\.\d+\.\d+/.test(vserion)) {
29+
if(!/^\d\.\d+\.\d+/.test(vserion)) {
3030
throw new Error('版本号格式不正确')
3131
}
3232
const publishVersion = version.slice(2)

0 commit comments

Comments
 (0)