Repository navigation
ci(release): Arch and Flatpak packages, crates.io publishing - #19
Merged
Merged
Conversation
Pushing a v* tag now also builds a .pkg.tar.zst with makepkg in an Arch container and a single-file .flatpak bundle, signs them with the other assets, and publishes the crate to crates.io from the crates-io environment. Authentication uses Trusted Publishing when the CRATES_IO_TRUSTED_PUBLISHING variable is set, and the CARGO_REGISTRY_TOKEN environment secret otherwise, which the first publish requires. Tags with a suffix are pre-releases: never "latest", never published to crates.io. tests/ now ships in source archives and in the crate: the library's unit tests read its fixtures, so packagers running them failed. docs/releasing.md describes the procedure and the credentials. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: onyks-os <129986281+onyks-os@users.noreply.github.com>
The bundle names Flathub as its runtime repository, so installing it fetches the GNOME runtime. makepkg's -debug package stays out of the release assets. The README lists every asset and cargo install. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: onyks-os <129986281+onyks-os@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v*tag now builds, alongside the.deb,.rpm, binary, and.crate: an Arch.pkg.tar.zst(makepkg in anarchlinuxcontainer, from the tag's own tree) and a single-file.flatpakbundle (GNOME 50 runtime, fetched from Flathub on install).crates-iojob, after the GitHub Release, in thecrates-ioenvironment (tagsv*only): Trusted Publishing whenvars.CRATES_IO_TRUSTED_PUBLISHING == 'true', otherwise theCARGO_REGISTRY_TOKENenvironment secret (required for the first publish).v0.1.0-rc.3) are pre-releases: never "latest", never published to crates.io.tests/now ships ingit archiveand in the crate: the library's unit tests include the fixtures, socheck()in the PKGBUILD failed.docs/releasing.md: procedure, rehearsal, verification, credentials.Test plan
makepkginarchlinux:latest,check()passingusbguard-gui --versionand--diagnoserun in the sandbox and reach the system buscargo publish --dry-runpassesv0.1.0-rc.3after merge🤖 Generated with Claude Code