Repository navigation
feat: attach an installable package for every desktop to each release - #15
Merged
Merged
Conversation
A release now carries the Quickshell build as a tarball, which Dux Modular Shell, Quickshell alone and KDE Plasma all install, the KWin effect as a kpackage archive that `kpackagetool6 --install` and the KDE Store take as is, the GNOME extension zip straight from `gnome-extensions pack`, and a SHA256SUMS file. The names carry no version, so the README's install steps link to the latest release and never need editing. The flake builds them all as `.#release`, so `nix flake check` builds every package on each pull request, and CI uploads them as a workflow artifact. The release workflow uploads the same output. A version in `kwin/metadata.json` that differs from `plugin.json` fails the build. Both workflows now hold no permissions at the top, give the job only what it needs, and drop the checkout's credentials. The release tags through the GitHub API instead of a git push, so no step needs a token in git. The GNOME zip installs with `gnome-extensions install` and the effect archive with `kpackagetool6`, both checked against the real tools in a throwaway home.
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 release now attaches one installable package per desktop, and the README's install steps download them instead of cloning the repo.
cvesmic-quickshell.tar.gzis the Quickshell build. Dux Modular Shell, Quickshell alone and KDE Plasma all install this one file.cvesmic-kwin.tar.gzis the KWin effect as a kpackage archive, in the shapekpackagetool6 --installand the KDE Store take.cvesmic@codeforbreakfast.co.shell-extension.zipis whatgnome-extensions packemits, in the shape GNOME Extensions takes.SHA256SUMScovers the three.The names carry no version, so the README links to
releases/latest/download/<name>and never needs editing for a release.The flake builds all of them as
.#release, andnix flake checkincludes it, so every pull request builds every package. CI uploads them as therelease-packagesworkflow artifact, which is this change's dry run: download it from this pull request's CI run to try an install. AVersioninkwin/metadata.jsonthat differs fromplugin.jsonfails the build, so a release pull request has to bump both.Security: both workflows hold no permissions at the top and give the job only what it needs, checkouts keep no credentials, and the release tags through the GitHub API so no step needs a token in git. Actions stay SHA-pinned with version comments for Renovate.
The Nix package is untouched and still installs the plugin at
share/cvesmic.Checked against the real tools in a throwaway home:
gnome-extensions installtakes the zip and compiles its schema, andkpackagetool6 --type KWin/Effect --installtakes the archive and lists the effect afterwards.