~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/knotless

git that lives in your Atmosphere account

knotless.dev
1 collaborator

knotless 0.17.0 Latest 2 packages, 1 image

1
10

No release process: no changelog, tags or canary builds

Closed
Closed chadtmiller.com opened this issue 1 comment
kind/featurearea/deploy

What happened

There is no release process to speak of. A release today is just release root@host (deploy/release.sh) run by hand on a Mac: it builds the workspace's version from Cargo.toml for macOS and Linux and puts the builds on the host, for /install.sh to hand out as the latest. So:

  • Nothing says when to release or what goes in one. The version has been 0.1.0, and "bump the version before a release: one already out is replaced in place" (deploy/README.md) is all that stops a release from silently changing under people who installed it.
  • There are no tags, so no way to name what a release was built from.
  • There are no release notes or changelog: someone running knotless cannot tell what changed since their version, and an agent cannot either.
  • Releasing needs the owner's Mac (zig and cargo-zigbuild), not the runner.
  • There is only "latest". Someone who wants what main has now has to build from a clone, and someone who wants to stay put can only pin KNOTLESS_VERSION.

What you expected

A release process that does not depend on one machine:

  • A release cut from main by the runner: an asked workflow (on: {asked: ...}, like scenarios.yml) that bumps the version, tags the commit, builds every target and publishes them to the host.
  • Release notes for each version, kept in a CHANGELOG.md and shown where people look: the install script's output, knotless --version or an update hint, and a page on knotless.dev. They could be drafted from the squashed commits on main since the last tag, since each landed pull is one commit with its title.
  • A nightly or canary channel: main's builds published on each deploy (or once a day) under their own name, which install.sh can pick (KNOTLESS_CHANNEL=canary), so new client changes get used before a release without asking anyone to build from source.
  • The server and the client released in step, or a note of which serve version a client expects, so a release never needs a newer knotless.dev than the one deployed.
  • docs/reference/cli.md and deploy/README.md (Releases) saying how each of these works.

Where

The release process: deploy/release.sh, Justfile's release, /install.sh from knotless-serve, .knotless/workflows/. At 006eb70e.

Closing: the release process is in place. .knotless/workflows/release.yml builds every target, publishes with knotless publish, takes the CHANGELOG.md section as the notes, and tags v<version>. Versions come from .changeset/ through knope (see 14a31c69, "Release 0.6.0"). A canary or nightly channel was not built and can be its own issue if it is wanted.