Adds Reboot + Shut down buttons on /settings, backed by a new
POST /api/furtka/power endpoint that kicks a delayed `systemd-run
--on-active=3s systemctl {reboot|poweroff}` so the HTTP response
flushes before the kernel loses network. Both buttons open a native
confirm dialog; after reboot, the page polls /furtka.json until the
box is back and reloads itself.
26.7-alpha was tagged on 5d8ac63 but release.yml never fired for that
tag (Forgejo race with the concurrent main push; re-push of the deleted
tag didn't wake the workflow either). 26.8 supersedes it and carries
the same open_url + Open-button content plus the power actions.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
3 KiB
Releasing
Furtka uses calendar versioning: YY.N-stage — e.g. 26.0-alpha is 2026, release 0, alpha stage. No v prefix.
YY— last two digits of the current yearN— incrementing release number within the year, starting at 0 (next one in 2026 is26.1-alpha, then26.2-alpha…)-alpha— drop it when the installer boots end-to-end and wipe-and-reinstall is safe
When the year rolls over, the next release becomes 27.0-alpha regardless of how many 26.x releases shipped.
Cadence
Tag per meaningful milestone, not on a calendar. A milestone is: ISO boots, a wizard screen works end-to-end, managed gateway serves its first real domain, etc. If a week goes by with no tag, that's fine — no tag is better than a noisy one.
Release steps
-
Move
[Unreleased]inCHANGELOG.mdto a new version heading.## [Unreleased] ## [26.1-alpha] - 2026-05-20 ### Added - ...Add a
[26.1-alpha]link definition at the bottom:[26.1-alpha]: https://forgejo.sourcegate.online/daniel/furtka/releases/tag/26.1-alphaUpdate the
[Unreleased]compare link to point at the new tag. -
Commit the changelog.
git add CHANGELOG.md git commit -m "chore: release 26.1-alpha" -
Tag the commit.
git tag -a 26.1-alpha -m "Release 26.1-alpha" -
Push the tag and main.
git push origin main git push origin 26.1-alpha -
The release workflow does the rest.
.forgejo/workflows/release.ymlfires on the tag push and runs on the self-hosted runner:scripts/build-release-tarball.shbuilds the self-update payload (tarball + sha256 + release.json underdist/),iso/build.shbuilds the live-installer ISO,scripts/publish-release.shuploads tarball + sha256 + release.json + ISO to the Forgejo release page. Pre-release is flagged automatically based on the suffix (-alpha/-beta/-rc). ISO build iscontinue-on-error: a flaky ISO step doesn't block the core tarball (the thing boxes need for self-update).The release workflow needs one secret set at repo Settings → Secrets → Actions:
FORGEJO_RELEASE_TOKEN— a PAT withwrite:repositoryscope.
-
Verify CI passed on the tag. The Forgejo Actions run against the tagged commit should be green before you announce the release anywhere — both the CI workflow (lint/test) and the Release workflow (tarball published).
-
(Optional) Dogfood the update path. On a VM running the previous version,
sudo furtka update --checkshould now see the new tag, andsudo furtka updateapplies it without a reinstall.
First-time: find the current version
git describe --tags --abbrev=0
If the project is fresh and git describe fails, the next release is 26.0-alpha.
If the tag is wrong
Don't move published tags. Delete the release + tag, fix the problem, bump to the next number.
git tag -d 26.1-alpha
git push origin :refs/tags/26.1-alpha
# ... fix ...
git tag -a 26.2-alpha ...