Skip to content

Commit

Permalink
fix dirty
Browse files Browse the repository at this point in the history
  • Loading branch information
codehz committed Nov 23, 2023
1 parent 72fd558 commit 2fbe0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ for (const file of [

const contents = JSON.parse(await readFile("package.json", "utf-8"));
delete contents["private"];
contents.version = spawnSync("git", ["describe", "--tags", "--dirty"], {
contents.version = spawnSync("git", ["describe", "--tags"], {
encoding: "utf-8",
})
.stdout.trim()
Expand Down

0 comments on commit 2fbe0d5

Please sign in to comment.