Skip to content

Make releases real: tag-triggered .deb/.rpm/.apk, a landing page, and… - #1

Merged
padovanl merged 1 commit into
masterfrom
develop
Aug 21, 2026
Merged

padovanl merged 1 commit into
masterfrom
develop

Conversation

@padovanl

Copy link
Copy Markdown
Owner

… a fresh demo

The release workflow was manual-only and would have failed anyway: it published a Homebrew formula to a padovanl/homebrew-termdock repo that doesn't exist, using a HOMEBREW_TAP_GITHUB_TOKEN secret that doesn't either — and that step failing takes the whole run with it, including the artifacts that had already built. The tap is gone; a release should not depend on a second repository that isn't there. It's a comment in .goreleaser.yml explaining how to put it back.

Pushing a vX.Y.Z tag now publishes a release. scripts/release.sh is the supported way to create one: it refuses anything but master, a dirty tree, a branch out of step with the remote or a version that already exists, runs the tests, and asks before pushing. That matches the flow — work on develop, pull request into master, tag master.

Releases now carry .deb, .rpm and .apk alongside the tarballs, for linux amd64 and arm64, so installing is "apt install ./termdock_*.deb" rather than "put this binary somewhere on your PATH".

No config file is shipped, deliberately. termdock reads its config from $TERMDOCK_CONFIG, else $XDG_CONFIG_HOME, else ~/.config — there is no system-wide path, so anything installed under /etc would never be read. It's per-user configuration besides, and a package installing as root has no business picking whose home directory gets one; as a dpkg conffile it would also mean being asked, on every upgrade, whether to keep the copy you edited. So the packages ship a commented example under /usr/share/doc/termdock/, and the real file is written by termdock when asked — Ctrl-B C then S, or ":set -p ".

CI grew a gofmt check, the race detector, and a snapshot package build, so a packaging mistake surfaces on the pull request rather than after the tag is pushed. It runs on develop as well as master.

A third workflow publishes site/ to padovanl.github.io/termdock — needs Pages enabled once by hand with "GitHub Actions" as the source.

The demo GIF is re-recorded against the current build: real git output, the pane overview, the settings screen, a theme changed live, scrollback search, the popup and the jump picker, then detaching and reattaching. Smaller than the one it replaces despite covering more.

One real fix fell out of recording it. Every overlay's title — which is where its instructions live — was drawn in a hardcoded grey, the one element in the box that ignored the theme: 2.3:1 against the Dracula palette, below any readable threshold, and worse still on one-dark and nord. It uses the status bar's own foreground now, 8.6:1 on the same palette. The rule under the query stays faint, being a divider rather than writing.

… a fresh demo

The release workflow was manual-only and would have failed anyway: it
published a Homebrew formula to a padovanl/homebrew-termdock repo that
doesn't exist, using a HOMEBREW_TAP_GITHUB_TOKEN secret that doesn't
either — and that step failing takes the whole run with it, including
the artifacts that had already built. The tap is gone; a release should
not depend on a second repository that isn't there. It's a comment in
.goreleaser.yml explaining how to put it back.

Pushing a vX.Y.Z tag now publishes a release. scripts/release.sh is the
supported way to create one: it refuses anything but master, a dirty
tree, a branch out of step with the remote or a version that already
exists, runs the tests, and asks before pushing. That matches the flow —
work on develop, pull request into master, tag master.

Releases now carry .deb, .rpm and .apk alongside the tarballs, for
linux amd64 and arm64, so installing is "apt install ./termdock_*.deb"
rather than "put this binary somewhere on your PATH".

No config file is shipped, deliberately. termdock reads its config from
$TERMDOCK_CONFIG, else $XDG_CONFIG_HOME, else ~/.config — there is no
system-wide path, so anything installed under /etc would never be read.
It's per-user configuration besides, and a package installing as root
has no business picking whose home directory gets one; as a dpkg
conffile it would also mean being asked, on every upgrade, whether to
keep the copy you edited. So the packages ship a commented example under
/usr/share/doc/termdock/, and the real file is written by termdock when
asked — Ctrl-B C then S, or ":set -p <key> <value>".

CI grew a gofmt check, the race detector, and a snapshot package build,
so a packaging mistake surfaces on the pull request rather than after
the tag is pushed. It runs on develop as well as master.

A third workflow publishes site/ to padovanl.github.io/termdock — needs
Pages enabled once by hand with "GitHub Actions" as the source.

The demo GIF is re-recorded against the current build: real git output,
the pane overview, the settings screen, a theme changed live, scrollback
search, the popup and the jump picker, then detaching and reattaching.
Smaller than the one it replaces despite covering more.

One real fix fell out of recording it. Every overlay's title — which is
where its instructions live — was drawn in a hardcoded grey, the one
element in the box that ignored the theme: 2.3:1 against the Dracula
palette, below any readable threshold, and worse still on one-dark and
nord. It uses the status bar's own foreground now, 8.6:1 on the same
palette. The rule under the query stays faint, being a divider rather
than writing.
@padovanl
padovanl merged commit 4cc5dc4 into master Aug 21, 2026
4 checks passed
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