Skip to content

CI: flatten the downloaded bundles before checksumming in release - #14

Merged
df49b9cd merged 1 commit into
mainfrom
ci/release-flatten
Nov 4, 2026
Merged

df49b9cd merged 1 commit into
mainfrom
ci/release-flatten

Conversation

@df49b9cd

@df49b9cd df49b9cd commented Nov 4, 2026

Copy link
Copy Markdown
Owner

The first tag build (v0.1.0, run 41826920589) built every bundle, but release failed in Checksums:

sha256sum: '*.deb': No such file or directory
sha256sum: '*.AppImage': No such file or directory
sha256sum: '*.rpm': No such file or directory

testpattern-linux-x86_64 is uploaded from three paths under src-tauri/target/release/bundle/, so upload-artifact keeps the deb/, appimage/, rpm/ folders below their common parent; with merge-multiple they land as release/deb/*.deb etc. The dmg and flatpak artifacts are single files and land flat — which is why only the Linux globs missed. The release job had never run before (bundle-macos failed until #13), so this is the first time it surfaced.

Fix: a Flatten step after the download moves every file up into release/ and removes the empty folders, so Checksums, the attestation and the draft-release files: globs all see the bundles. Tested locally against that layout.

After merging, v0.1.0 needs to point at the new main commit (no release was created by the failed run).

The Linux artifact keeps the bundler's deb/, appimage/ and rpm/ folders, so
after download-artifact the .deb/.AppImage/.rpm sit one level below
release/ and the Checksums step's globs found nothing (first v0.1.0 run).
@df49b9cd
df49b9cd merged commit e4daf4d into main Nov 4, 2026
2 checks passed
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.

1 participant