We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 906f33c commit 340df3cCopy full SHA for 340df3c
1 file changed
.scripts/create-version.js
@@ -19,7 +19,7 @@ try {
19
const longHash = exec('git log --pretty=format:"%H" -n 1');
20
const tag = exec(`git tag --contains "${longHash}"`);
21
22
- if (/^v[0-9]+$/.test(tag)) {
+ if (/^v[0-9]+.[0-9]+.[0-9]+$/.test(tag)) {
23
writeVersionFile(tag);
24
} else {
25
const shortHash = exec('git log --pretty=format:"%h" -n 1');
0 commit comments