Repository navigation
feat(release): ship the CLI as .deb, .rpm and .apk packages - #669
Merged
Merged
Conversation
Each linux build in release.yml now runs nfpm (cli/nfpm.yaml) on the same binary the tarball holds, and the GitHub Release carries kates-linux-<arch>.deb, .rpm and .apk with build provenance and entries in checksums.txt. The names follow the tarballs, so /releases/latest/download/kates-linux-amd64.deb always resolves and pre-release versions never put a ~ in a file name. The packages install kates in /usr/bin and LICENSE in /usr/share/doc/kates, as a plain file so dnf's nodocs keeps it. The release notes, the README and the CLI reference's Installation section say how to install them.
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.
Each linux build in
release.ymlnow packs the release binary as a.deb,.rpmand.apkwith nfpm (cli/nfpm.yaml), and the GitHub Release carries them.kates-linux-<arch>.deb,.rpm,.apk, so/releases/latest/download/kates-linux-amd64.debalways resolves. nfpm's own names put a~in pre-release versions.katesin/usr/bin, LICENSE in/usr/share/doc/katesas a plain file, because dnf'snodocsdrops files marked as docs.gh attestation verify kates-linux-amd64.deb --repo bmscomp/kates) and entries inchecksums.txt. nfpm is pinned to v2.48.0.Tested locally
.sha256..deb) and Fedora 41 (arm64.rpm): install,kates version, remove..apk): install with--allow-untrusted,kates version.check-versions.sh --workflows, the book index check andcheck-book-style.shpass.Not covered
v*tag, so the first release is their first real run.apt upgradedoes not see new releases.