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 3e44169 commit a741676Copy full SHA for a741676
scripts/fragmenter_version.js
@@ -2,7 +2,8 @@ const buildInfo = require('./git_build_info').getGitBuildInfo();
2
const packageInfo = require('../package.json');
3
4
let version;
5
-if (packageInfo.edition === 'stable') {
+if (buildInfo?.tag && /^v\d/.test(buildInfo.tag) && !/-rc/.test(buildInfo.tag)) {
6
+ version = buildInfo.tag;
7
version = `v${packageInfo.version}`;
8
} else {
9
const hash = buildInfo?.shortHash;
0 commit comments