Skip to content

Commit

Permalink
chore: better fragmenter version
Browse files Browse the repository at this point in the history
fix

fix
  • Loading branch information
Revyn112 committed Nov 17, 2024
1 parent ce1e1dc commit 04a344e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/fragmenter_version.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ const packageInfo = require('../package.json');
let version;
if (packageInfo.edition === 'stable') {
version = `v${packageInfo.version}`;
} else if (buildInfo?.tag) {
version = `v${buildInfo?.tag}`;
} else {
const hash = buildInfo?.shortHash;

Expand Down

0 comments on commit 04a344e

Please sign in to comment.