aboutsummaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-04-07 21:32:46 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-04-07 21:32:46 +0300
commit96f88c70e69d587e9c5821ea2777677c5fb1264c (patch)
treef36f0f5ea3bb9b302351a30fac29be5b54619c3d /AGENTS.md
parent7c12feed7e8f2862dbbb5e7bd082967d0613b714 (diff)
feat: add release state verification
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 7ae8b983..ff37c537 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -41,6 +41,7 @@ just check
just release 0.x.y
# wait for the GitHub release and all four binary assets to exist
just update-latest-json 0.x.y
+just verify-release-state 0.x.y
```
`just release 0.x.y` prepares the changelog entry, bumps `Cargo.toml`, runs tests, commits, tags, and pushes. GitHub Actions builds the binaries after the tag is pushed.
@@ -54,6 +55,8 @@ just update-latest-json 0.x.y
It also refuses to run if `website/latest.json` is already at the same or newer version. It leaves the file unstaged and prints the next commands to review, commit, and push.
+`just verify-release-state 0.x.y` is the final read-only verification step. It checks that the published GitHub release, the local `website/latest.json`, the live `https://herdr.dev/latest.json`, and the release asset URLs all match the same version and manifest contents.
+
`website/latest.json` is the shipped updater source of truth. Keep its schema aligned with `src/update.rs`:
```json