Skip to content

feat: attach an installable package for every desktop to each release - #15

Merged
GraemeF merged 1 commit into
mainfrom
worktree-release-packages
Nov 6, 2026
Merged

GraemeF merged 1 commit into
mainfrom
worktree-release-packages

Conversation

@GraemeF

@GraemeF GraemeF commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

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.gz is the Quickshell build. Dux Modular Shell, Quickshell alone and KDE Plasma all install this one file.
  • cvesmic-kwin.tar.gz is the KWin effect as a kpackage archive, in the shape kpackagetool6 --install and the KDE Store take.
  • cvesmic@codeforbreakfast.co.shell-extension.zip is what gnome-extensions pack emits, in the shape GNOME Extensions takes.
  • SHA256SUMS covers 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, and nix flake check includes it, so every pull request builds every package. CI uploads them as the release-packages workflow artifact, which is this change's dry run: download it from this pull request's CI run to try an install. A Version in kwin/metadata.json that differs from plugin.json fails 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 install takes the zip and compiles its schema, and kpackagetool6 --type KWin/Effect --install takes the archive and lists the effect afterwards.

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.
@GraemeF
GraemeF marked this pull request as ready for review November 6, 2026 09:52
@GraemeF
GraemeF merged commit 88653fc into main Nov 6, 2026
1 check passed
@GraemeF
GraemeF deleted the worktree-release-packages branch November 6, 2026 09:52
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