We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eccd5b7 commit 4284c89Copy full SHA for 4284c89
scripts/markdown.ts
@@ -54,7 +54,7 @@ const argv = yargs(hideBin(process.argv))
54
description: "Analysis to be performed",
55
})
56
.check(({ ref, on }) => {
57
- if (!/^v[0-9]+.[0-9]+.[0-9]+$|^master$/.test(ref)) {
+ if (!/v[0-9]+.[0-9]+.[0-9]+(-(alpha|beta|rc)\.[0-9]+)*$/.test(ref)) {
58
throw new Error(`Invalid Git reference '${ref}'`);
59
}
60
if (on.length === 0) {
0 commit comments