dist: include target in filename

Backport patch will be removed in the next release.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-02-08 16:03:41 +09:00
committed by mae
parent f698d6f324
commit ce881862f0
2 changed files with 16 additions and 3 deletions

2
dist/release.sh vendored
View File

@@ -1,7 +1,7 @@
#!/bin/sh -e
cd "$(dirname -- "$0")/.."
VERSION="${HAKUREI_VERSION:-untagged}"
pname="hakurei-${VERSION}"
pname="hakurei-${VERSION}-$(go env GOARCH)"
out="${DESTDIR:-dist}/${pname}"
echo '# Preparing distribution files.'