From d1dad39ba2c2d9f4e43db39dc9cfdf00dc0c5807 Mon Sep 17 00:00:00 2001 From: nicodes Date: Thu, 27 Aug 2026 22:27:26 -0600 Subject: [PATCH] build(release): expose and verify protocol v4 --- .github/actions/build/action.yml | 7 +++++++ .github/workflows/release.yml | 3 +++ README.md | 1 + internal/system/run.go | 9 ++++++++- 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 34e80c5..5d42efb 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -106,3 +106,10 @@ runs: echo "::error::built binary reported no version at all" exit 1 fi + + protocol="$($tmp/ormos --protocol-version)" + echo "protocol $protocol" + if [ "$protocol" != "4" ]; then + echo "::error::built binary advertises protocol '$protocol', expected the v4 release contract" + exit 1 + fi diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d35942c..1998ebf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -149,6 +149,9 @@ jobs: cat > dist/notes.md <