aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/release
Commit message (Collapse)AuthorAgeFilesLines
* scripts: this tree built with most, a tag with it or what it stands fortv9 days1-6/+16
| | | | | | | | | | | | | cargo quick and cargo sim build with most; federation-check and release built this tree again with federation,mycelium, and wire-check with federation,libp2p: each a build of its own, about two of a release's four minutes, against some 12 s of judging and 20 s of wire-check. Now this tree builds with most throughout, and a tag with most where it has it, else with what most stands for (dashboard, federation, libp2p, mycelium, tor), the same in each script, so its builds are one too. CONTINUUM_FEATURES and CONTINUUM_WIRE_CHECK_FEATURES, where given, still set both.
* release: before 1.0.0, versions read as Cargo reads themtv10 days1-5/+9
| | | | | | | | | 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.
* scripts/wire-check: a swarm of the last release and this treetv12 days1-2/+5
| | | | | | | | | | | | | | | | Four nodes on this host over libp2p on loopback, two of a release tag's build and two of this tree's, in turns, each seeded with the one before. Where the two builds' wire versions meet, each node writes, and the check is that every node reads what each wrote and that none logs a peer of another wire version. Where they don't, that the tag's nodes log this tree's as such, so their operators know to upgrade. scripts/release runs it against the last release, after saying from the two builds' --version how the release upgrades: so a release that says it rolls out node by node has been seen to. docs/development.md says how a change to the wire format is made: a new version beside the ones spoken already, the older kept frozen.
* scripts/release: a release checked, said how it upgrades, committed and taggedtv12 days1-0/+184
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-<F>.<R> 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.