From 4226d1eb85cd2b230f43729d6586c7795c46393a Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Tue, 19 Sep 2023 21:52:34 +0200 Subject: [PATCH] Update build.mjs --- scripts/build.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/build.mjs b/scripts/build.mjs index 213312c..686f93c 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -24,3 +24,8 @@ await Promise.all( goos.flatMap(GOOS => goarch.map(GOARCH => $`gh release upload ${latest} ${name(GOOS, GOARCH)}`))) + +await Promise.all( + goos.flatMap(GOOS => + goarch.map(GOARCH => + $`rm ${name(GOOS, GOARCH)}`)))