From efb09f5fbfa6714da31cfb637c8c8a91f7617063 Mon Sep 17 00:00:00 2001 From: Adrian Bienkowski Date: Tue, 25 Aug 2026 08:00:16 -0400 Subject: [PATCH] fix: rename Rust release asset to docker-socket-policy-rs-linux-amd64 The upload step used gh release upload's #label syntax, which only sets the GitHub UI display label but doesn't rename the actual uploaded file. The raw asset name stayed as the binary basename 'docker-socket-policy', inconsistent with Go ('docker-socket-policy-go') and TS ('docker-socket-policy-ts-vX.Y.Z.tar.gz'). Copy the binary to the target filename before uploading so the real asset name is descriptive and consistent across all three languages. Closes #18 --- .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 d7cb52c..079d162 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -152,8 +152,9 @@ jobs: run: cd rs && cargo build --release - name: Upload Rust binary to release run: | + cp rs/target/release/docker-socket-policy docker-socket-policy-rs-linux-amd64 gh release upload "${{ needs.version.outputs.tag }}" \ - rs/target/release/docker-socket-policy#docker-socket-policy-rs-linux-amd64 \ + docker-socket-policy-rs-linux-amd64 \ --clobber env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}