From 2a9ebe39770754975f3b701a1dbd9127af323ffb Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 21 Nov 2026 22:56:32 +0000 Subject: release: before 1.0.0, versions read as Cargo reads them Of 0.Y.Z, a flag day raises Y, a release one node at a time raises Z: the first part that isn't 0 is the major one, so releases before 1.0.0 practise the same kinds of bumps as those after. scripts/release refuses a flag day that doesn't raise it (leading), where before 1.0.0 it took any. The docs' examples release 0.1.0 next: 0.0.2 would read as a flag day after 0.0.1. --- docs/development.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'docs/development.md') diff --git a/docs/development.md b/docs/development.md index 2ad5bd6..0e98af2 100644 --- a/docs/development.md +++ b/docs/development.md @@ -112,9 +112,9 @@ upgrade to it from the release before ([`operations.md`](operations.md), [Upgrading](operations.md#upgrading)). `scripts/release` makes one, and pushes nothing: ```sh -scripts/release --dry-run 0.0.2 # checks, and says what it would write -scripts/release 0.0.2 # the same, then commits and tags -git push origin HEAD v0.0.2 +scripts/release --dry-run 0.1.0 # checks, and says what it would write +scripts/release 0.1.0 # the same, then commits and tags +git push origin HEAD v0.1.0 ``` It takes a clean tree with notes under Unreleased in [`CHANGELOG.md`](../CHANGELOG.md), and a @@ -124,16 +124,15 @@ stops at the first that fails, leaving the tree as it was. It builds the last re and compares what the two say they are (`continuum --version`): * **wire versions**: where they share one, the release rolls out node by node; where - they don't, every node upgrades together, which from 1.0.0 on only a major release - may ask. `scripts/wire-check` checks it, by a swarm of the last release's nodes and - this tree's (below); + they don't, every node upgrades together, which only a major release may ask (before + 1.0.0, the first part that isn't 0: `0.2.0` after `0.1.1`). `scripts/wire-check` checks + it, by a swarm of the last release's nodes and this tree's (below); * **Automerge**: where it differs, nobody remakes until every node runs the release; * **the federation's revisions**: a release knowing a later one than the last is tagged `federation-.` too, so that later releases are checked against it. What it finds heads the release's notes in the change log and its tag's message, with -what the build speaks and knows, and the notes. Before 1.0.0 every upgrade may still be -taken as a flag day, but the notes say when it isn't. +what the build speaks and knows, and the notes. `scripts/wire-check [TAG]` (the last release unless given) runs four nodes on this host, over libp2p on loopback: two of the tag's build and two of this tree's, in turns. Where -- cgit v1.3.1