cmd/dist: replace dist/release.sh
Some checks failed
Test / Create distribution (push) Successful in 1m18s
Test / Sandbox (push) Successful in 3m15s
Test / Hakurei (push) Successful in 4m28s
Test / ShareFS (push) Successful in 4m34s
Test / Sandbox (race detector) (push) Successful in 5m41s
Test / Hakurei (race detector) (push) Failing after 6m53s
Test / Flake checks (push) Has been skipped

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 26f57646d7
9 changed files with 240 additions and 78 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