Skip to content

Commit 1758e45

Browse files
committed
deploy: fix git tag calculation.
1 parent 5938b59 commit 1758e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ async function afterSign(context) {
122122
}
123123

124124
function getGithubTag() {
125-
const regExp = new RegExp('^refs\\/tags\\/(v\\d\\.\\d\\.\\d)$')
125+
const regExp = new RegExp('^refs\\/tags\\/(v\\d+\\.\\d+\\.\\d+)$')
126126
const result = regExp.exec(process.env.GITHUB_REF)
127127

128128
return result && result[1]

0 commit comments

Comments
 (0)