cmd/dist: replace dist/release.sh
Some checks failed
Test / Create distribution (push) Successful in 1m20s
Test / ShareFS (push) Failing after 1m59s
Test / Hakurei (push) Failing after 3m3s
Test / Sandbox (race detector) (push) Failing after 3m32s
Test / Flake checks (push) Has been cancelled
Test / Hakurei (race detector) (push) Has been cancelled
Test / Sandbox (push) Has been cancelled

This is much more robust than a shell script.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-04-05 20:57:01 +09:00
parent 4cd0f57e48
commit e000379fdc
8 changed files with 239 additions and 77 deletions

6
all.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh -e
TOOLCHAIN_VERSION="$(go version)"
cd "$(dirname -- "$0")/"
echo "# Building cmd/dist using ${TOOLCHAIN_VERSION}."
go run -v --tags=dist ./cmd/dist