Skip to content

Commit bf188df

Browse files
committed
fix: use git describe --tags for version
1 parent 03bfd0f commit bf188df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/version.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ function create(buildId) {
2020
/** Get tag-based description from Git */
2121
function gitDescribeTag() {
2222
const { execSync } = require('child_process');
23-
const gitDescribe = undefined;
23+
24+
let gitDescribe = undefined;
2425

2526
try {
2627
gitDescribe = execSync('git describe --tags', { encoding: 'utf8' }).trim();

0 commit comments

Comments
 (0)