feat: add hash tag

This commit is contained in:
hamster1963 committed 2024-12-03 15:16:36 +08:00
1 parent 8811904133
commit b84be53ab8
6 files changed
+85 -51

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
const { execSync } = require("child_process");
// Get the short version of the git hash
const gitHash = execSync("git rev-parse --short HEAD").toString().trim();
// Write it to stdout
console.log(gitHash);