Skip to content

Commit afcbc3a

Browse files
committed
fix version
1 parent 30557a8 commit afcbc3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/dist.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ contents.version = spawnSync("git", ["describe", "--tags"], {
3838
encoding: "utf-8",
3939
})
4040
.stdout.trim()
41-
.replace(/-[[:digit:]]\+-g/, "+");
41+
.replace(/-[[:digit:]]\+-g/, "+")
42+
.replace(/^v/, "");
4243
delete contents.devDependencies["bun-plugin-dts"];
4344
await Bun.write("dist/package.json", JSON.stringify(contents, null, 2));

0 commit comments

Comments
 (0)