a release workflow: tag from the workspace version, bundle every target, publish artifacts #32
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #5
Scope
.gitea/workflows/release.yamlon av*tag: stamp the workspace version intotauri.conf.jsonandui/package.json, build the webview, runcargo tauri buildfor the Linux targets onrust-gtk3, and attach the artifacts to a Gitea release. Windows and macOS builders are a separate concern (a self-hosted runner on each, or a cross-build) and get their own child once the Linux path is proven.Acceptance
Pushing a tag produces a Gitea release with an AppImage and a
.debwhose--versionprints the tag.Depends on
#12 (green CI).
Done by the
v0.1.0tag, release run 36. The Gitea release v0.1.0 carries the deb, the rpm, the AppImage with its.sig, the bare binary andSHA256SUMS. The downloaded AppImage matches its checksum and printsblackbeard-wallet 0.1.0.Getting there took three fixes: the binary's name after the product rename and where the Tauri CLI runs (
aa6ad55), andxdg-utilsin the rust-gtk3 image (gongfoob997f73), which the AppImage bundler copies in for the opener plugin. Run 35 failed on the last of these. This Gitea has no rerun API, so the tag was deleted and pushed again at the same commit; nothing had been released by the failed run.