Skip to content

fix: rename Rust release asset to docker-socket-policy-rs-linux-amd64 - #22

Merged
abienkowski merged 1 commit into
mainfrom
fix/rust-release-asset-name
Aug 25, 2026
Merged

fix: rename Rust release asset to docker-socket-policy-rs-linux-amd64#22
abienkowski merged 1 commit into
mainfrom
fix/rust-release-asset-name

Conversation

@abienkowski

Copy link
Copy Markdown
Collaborator

Problem

The upload step in release.yml 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).

Fix

Copy the binary to the target filename before uploading so the real asset name is descriptive and consistent across all three languages.

Verification

Will confirm on the next release run (triggered by this PR's merge) that the Rust asset name matches docker-socket-policy-rs-linux-amd64 in the release assets list.

Closes #18

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
@abienkowski
abienkowski merged commit d8a5a3b into main Aug 25, 2026
6 checks passed
@abienkowski
abienkowski deleted the fix/rust-release-asset-name branch August 25, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rust release asset has ambiguous filename (docker-socket-policy instead of docker-socket-policy-rs-linux-amd64)

1 participant