Skip to content

Commit 232574d

Browse files
committed
zip releases
1 parent 3a6a8e1 commit 232574d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deno.jsonc

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
// sub-release adds $DENO_TARGET for all the target platforms and runs sub-sub-release
2424
"sub-release": "DENO_TARGET=x86_64-unknown-linux-gnu deno task sub-sub-release && DENO_TARGET=x86_64-pc-windows-msvc deno task sub-sub-release && DENO_TARGET=x86_64-apple-darwin deno task sub-sub-release && DENO_TARGET=aarch64-apple-darwin deno task sub-sub-release",
2525
// sub-sub-release adds $DENO_EXT using both $DENO_TARGET and $DENO_REL (specifies the target and output directory) then runs sub-compile
26-
"sub-sub-release": "DENO_EXT=\"--target=$DENO_TARGET -o ./release/$DENO_REL/$DENO_TARGET/booger\" deno task sub-compile"
26+
// after compiling, it zips the binary using $BOOGER_VER provided to the original task
27+
"sub-sub-release": "DENO_EXT=\"--target=$DENO_TARGET -o ./release/$DENO_REL/$DENO_TARGET/booger\" deno task sub-compile && sh -c \"chmod +x ./release/$DENO_REL/$DENO_TARGET/booger*\" && sh -c \"zip -j ./release/booger-$BOOGER_VER-$DENO_REL-$DENO_TARGET.zip ./release/$DENO_REL/$DENO_TARGET/booger*\""
2728
},
2829
"imports": {
2930
"std/": "https://deno.land/[email protected]/",

0 commit comments

Comments
 (0)