Skip to content

feat(install): release the KDE plasmoid and add a one-line install script - #14

Merged
vdemonchy merged 1 commit into
mainfrom
feat/release-install-script
Jun 10, 2026
Merged

vdemonchy merged 1 commit into
mainfrom
feat/release-install-script

Conversation

@vdemonchy

Copy link
Copy Markdown
Owner

Summary

  • Release workflow: package the KDE Plasma 6 plasmoid as a kpackagetool6-installable cyclone2-plasmoid-<tag>.plasmoid (zip of plasmoid/package with metadata.json at the archive root) and attach it to GitHub Releases alongside the daemon, GNOME extension, and COSMIC applet.
  • scripts/install.sh (new): toolchain-free installer for the pre-built artefacts. Resolves the latest release tag via the GitHub API (no jq), installs the core (daemon → ~/.local/bin, udev rule via the single sudo step, systemd --user service — rule and unit fetched at the release tag for reproducible pinned installs), then detects the desktop from $XDG_CURRENT_DESKTOP and installs the matching frontend. VERSION=vX.Y.Z pins a release; FRONTEND=gnome|cosmic|kde|none overrides detection. Non-x86_64 machines are redirected to make install. For KDE on releases that predate the new artefact, falls back to the source tarball at the tag (with a clear error if the tag predates the plasmoid entirely).
  • Docs: README gains a "Quick install (pre-built, no toolchain)" section with the curl | sh one-liner; INSTALL.md leads "Installing without a toolchain" with the script, adds the .plasmoid row to the artefact table, and documents the release-artefact KDE install.

Test plan

  • release.yml passes YAML validation; plasmoid zip layout verified locally (metadata.json at archive root)
  • install.sh passes sh -n; end-to-end smoke test against the real v0.1.3 release with sandboxed HOME and stubbed sudo/systemctl/udevadm (daemon + service land in the right places, FRONTEND=none and the KDE pre-plasmoid error path behave as intended)
  • Tag v0.1.4 after merge and confirm the release attaches all four artefacts
  • Run the one-liner on a real machine against v0.1.4

🤖 Generated with Claude Code

…ript

- release.yml packages plasmoid/package as a kpackagetool6-installable
  cyclone2-plasmoid-<tag>.plasmoid and attaches it to the release
- scripts/install.sh installs the pre-built artefacts end to end: latest
  (or pinned VERSION=) release, core (daemon + udev rule + systemd user
  service, fetched at the release tag), and the frontend auto-detected
  from XDG_CURRENT_DESKTOP (override with FRONTEND=gnome|cosmic|kde|none)
- README gains a "Quick install (pre-built, no toolchain)" curl | sh
  section; INSTALL.md documents the script and the new artefact

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions github-actions Bot added the enhancement New feature or request label Jun 10, 2026
@vdemonchy
vdemonchy merged commit 7813ffd into main Jun 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant