From 180aba9ff89a4a294e284aa281d96adbcfe1b85b Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 19 Nov 2026 17:27:17 +0000 Subject: scripts/release: a release checked, said how it upgrades, committed and tagged Releases were made by hand: a commit, a tag, and whatever one remembered to check. `scripts/release [--dry-run] X.Y.Z` makes one: 1. the tree clean, notes under Unreleased in CHANGELOG.md, the version later than the last v* tag's; 2. the version set in Cargo.toml and Cargo.lock (and the --version example in operations.md), then `cargo quick`, `cargo sim` and scripts/federation-check, stopping at the first that fails and leaving the tree as it was; 3. this build's `continuum --version` against the last release's, built in a cache of its own: node by node where their wire versions meet and Automerge is the same, every node together where they don't share one, which from 1.0.0 on it refuses but in a major release; Automerge changed, no remake until every node runs it; 4. the Unreleased notes become the release's, headed by what it found; the commit `release X.Y.Z`, tagged vX.Y.Z with that, what the build speaks and knows, and the notes; and federation-. too where the build knows a later revision than the last release. It pushes nothing. With --dry-run it checks and prints what it would write. docs/development.md says how releases are made. --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index db1aad2..2d531c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ it from the release before ([`docs/operations.md`](docs/operations.md), ## Unreleased +* `scripts/release` makes a release: it checks the tree, says from the last release's + wire versions, Automerge and revisions whether it rolls out node by node, and commits + and tags it, pushing nothing ([`docs/development.md`](docs/development.md), + [Releasing](docs/development.md#releasing); [`scripts/release`](scripts/release)). + * Automerge is pinned to exactly the version `Cargo.toml` names, so no rebuild changes what nodes must agree on unnoticed ([`docs/operations.md`](docs/operations.md), [Upgrading](docs/operations.md#upgrading); [`Cargo.toml`](Cargo.toml)). -- cgit v1.3.1