Skip to content

Commit

Permalink
build: fix gen_bin: restore version.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jersou committed Oct 4, 2024
1 parent 9662111 commit 3ef3b29
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gen-bin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -x
set -o errexit
rm -f dist/*.zip || true
mkdir -p dist/
version=$(./version.ts)
version=$(./utils/version.ts)

for i in \
x86_64-unknown-linux-gnu,x86_64-linux \
Expand Down
6 changes: 6 additions & 0 deletions utils/version.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env -S deno run -A
import denoJson from "../deno.json" with { type: "json" };

if (import.meta.main) {
console.log(denoJson.version);
}

0 comments on commit 3ef3b29

Please sign in to comment.