From 9bdc4da284cadc1f05353d7b45553c49989d0db1 Mon Sep 17 00:00:00 2001 From: Marcel Losso Date: Thu, 22 Oct 2026 17:36:44 -0300 Subject: [PATCH] Accept localhostd reported as static-pie linked in the release's static check --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ae6e5a..67ae0c1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -219,7 +219,8 @@ jobs: run: | binary=target/x86_64-unknown-linux-musl/release/localhostd file "$binary" - file "$binary" | grep -q 'statically linked' + # Older `file` says "statically linked", newer "static-pie linked". + file "$binary" | grep -Eq 'statically linked|static-pie linked' ls -l "$binary" "$binary" --version LOCALHOST_STORAGE_ROOT=$(mktemp -d) "$binary" --stdio < /dev/null