dist: include target in filename
All checks were successful
Test / Create distribution (push) Successful in 1m1s
Test / Sandbox (push) Successful in 2m43s
Test / Hakurei (push) Successful in 3m53s
Test / ShareFS (push) Successful in 4m3s
Test / Hpkg (push) Successful in 4m25s
Test / Sandbox (race detector) (push) Successful in 5m3s
Test / Hakurei (race detector) (push) Successful in 5m59s
Test / Flake checks (push) Successful in 1m44s
All checks were successful
Test / Create distribution (push) Successful in 1m1s
Test / Sandbox (push) Successful in 2m43s
Test / Hakurei (push) Successful in 3m53s
Test / ShareFS (push) Successful in 4m3s
Test / Hpkg (push) Successful in 4m25s
Test / Sandbox (race detector) (push) Successful in 5m3s
Test / Hakurei (race detector) (push) Successful in 5m59s
Test / Flake checks (push) Successful in 1m44s
Backport patch will be removed in the next release. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit was merged in pull request #31.
This commit is contained in:
2
dist/release.sh
vendored
2
dist/release.sh
vendored
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
cd "$(dirname -- "$0")/.."
|
cd "$(dirname -- "$0")/.."
|
||||||
VERSION="${HAKUREI_VERSION:-untagged}"
|
VERSION="${HAKUREI_VERSION:-untagged}"
|
||||||
pname="hakurei-${VERSION}"
|
pname="hakurei-${VERSION}-$(go env GOARCH)"
|
||||||
out="${DESTDIR:-dist}/${pname}"
|
out="${DESTDIR:-dist}/${pname}"
|
||||||
|
|
||||||
echo '# Preparing distribution files.'
|
echo '# Preparing distribution files.'
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ HAKUREI_VERSION='v`+version+`'
|
|||||||
"v"+version+".tar.gz",
|
"v"+version+".tar.gz",
|
||||||
mustDecode(checksum),
|
mustDecode(checksum),
|
||||||
pkg.TarGzip,
|
pkg.TarGzip,
|
||||||
), true, [2]string{"dist", `From 67e453f5c4de915de23ecbe5980e595758f0f2fb Mon Sep 17 00:00:00 2001
|
), true, [2]string{"dist-00-tests", `From 67e453f5c4de915de23ecbe5980e595758f0f2fb Mon Sep 17 00:00:00 2001
|
||||||
From: Ophestra <cat@gensokyo.uk>
|
From: Ophestra <cat@gensokyo.uk>
|
||||||
Date: Tue, 27 Jan 2026 06:49:48 +0900
|
Date: Tue, 27 Jan 2026 06:49:48 +0900
|
||||||
Subject: [PATCH] dist: run tests
|
Subject: [PATCH] dist: run tests
|
||||||
@@ -236,7 +236,20 @@ index d737a18..98713cb 100644
|
|||||||
+
|
+
|
||||||
if !cur.EqualWithIgnore(mnt[i], "\x00") {
|
if !cur.EqualWithIgnore(mnt[i], "\x00") {
|
||||||
fail = true
|
fail = true
|
||||||
log.Printf("[FAIL] %s", cur)`}),
|
log.Printf("[FAIL] %s", cur)`}, [2]string{"dist-01-tarball-name", `diff --git a/dist/release.sh b/dist/release.sh
|
||||||
|
index 0ba9104..2990ee1 100755
|
||||||
|
--- a/dist/release.sh
|
||||||
|
+++ b/dist/release.sh
|
||||||
|
@@ -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.'
|
||||||
|
`}),
|
||||||
), pkg.Path(AbsUsrSrc.Append("hostname", "main.go"), false, pkg.NewFile(
|
), pkg.Path(AbsUsrSrc.Append("hostname", "main.go"), false, pkg.NewFile(
|
||||||
"hostname.go",
|
"hostname.go",
|
||||||
[]byte(`
|
[]byte(`
|
||||||
|
|||||||
Reference in New Issue
Block a user