Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix(release): preserve signed Windows zip filename, match checksum format (#3556)
Maximilian Roos8f55d1530128
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yamlindex b364b3e56..dba1688c5 100644--- a/.github/workflows/release.yaml+++ b/.github/workflows/release.yaml@@ -173,12 +173,18 @@ jobs:github-artifact-id: '${{ steps.upload-unsigned-windows-artifact.outputs.artifact-id }}'wait-for-completion: trueoutput-artifact-directory: 'target/distrib'+ # Without this, the action extracts the zip's contents as loose+ # files instead of saving back the signed zip under its original+ # name, silently breaking the checksum step and the release upload.+ skip-decompress: true- name: Recompute checksum for signed Windows artifactif: contains(matrix.targets, 'x86_64-pc-windows-msvc')shell: bashrun: |cd target/distrib- sha256sum worktrunk-x86_64-pc-windows-msvc.zip > worktrunk-x86_64-pc-windows-msvc.zip.sha256+ # -b matches cargo-dist's own checksum format (`<hash> *<filename>`);+ # sha256sum's default text mode omits the asterisk.+ sha256sum -b worktrunk-x86_64-pc-windows-msvc.zip > worktrunk-x86_64-pc-windows-msvc.zip.sha256- id: cargo-distname: Post-build# We force bash here just because github makes it really hard to get values up