Skip to content

Commit

Permalink
fix about not showing the correct version number
Browse files Browse the repository at this point in the history
something to do with annotated/lightweight tags, i'm not sure
  • Loading branch information
12beesinatrenchcoat committed Jul 20, 2021
1 parent 6a6178d commit 1abe03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/meta/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ git.branch = execSync("git rev-parse --abbrev-ref HEAD").toString().trim();
git.commitCount = execSync("git rev-list --count " + git.branch).toString().trim();
git.currentCommit = execSync("git rev-parse HEAD").toString().trim();
try {
git.tag = execSync("git describe --exact-match").toString().trim();
git.tag = execSync("git describe --exact-match --tags").toString().trim();
} catch {
git.tag = false;
}
Expand Down

0 comments on commit 1abe03e

Please sign in to comment.