aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/release
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/release')
-rwxr-xr-xscripts/release7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/release b/scripts/release
index 296766e..62a896a 100755
--- a/scripts/release
+++ b/scripts/release
@@ -12,8 +12,9 @@
# example too; then `cargo quick`, `cargo sim` and scripts/federation-check pass.
# 3. This build's `continuum --version` and the last release's (built in
# CONTINUUM_RELEASE_TARGET, ~/.cache/continuum/release unless set) say how one upgrades:
-# node by node where their wire versions meet and their Automerge is the same, else
-# every node together, which takes a major release from 1.0.0 on.
+# node by node where their wire versions meet, else every node together, which takes
+# a major release from 1.0.0 on; scripts/wire-check runs a swarm of both and checks
+# they do as said.
# 4. CHANGELOG.md's Unreleased notes become VERSION's, under a line saying so; the
# commit `release VERSION` holds it all, tagged vVERSION, its message saying how to
# upgrade, what the build speaks and knows, and the notes. A release knowing a later
@@ -141,6 +142,8 @@ if [ -n "$last" ]; then
die "$why: from 1.0.0 on, that takes a major release, not $version"
fi
fi
+ say "scripts/wire-check $last"
+ scripts/wire-check "$last" >&2 || die "a swarm of $last and this release doesn't do as said"
else
upgrade="The first release made by this script."
automerge_line=""