|
|
@@ -9,7 +9,7 @@ const snapshot = process.argv.includes("--snapshot")
|
|
|
|
|
|
const version = snapshot
|
|
|
? `0.0.0-${new Date().toISOString().slice(0, 16).replace(/[-:T]/g, "")}`
|
|
|
- : await $`git describe --tags --exact-match HEAD`
|
|
|
+ : await $`git describe --tags --abbrev=0`
|
|
|
.text()
|
|
|
.then((x) => x.substring(1).trim())
|
|
|
.catch(() => {
|