diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-30 01:03:42 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-30 01:03:42 +0300 |
| commit | 9ae93b125249dead6169bdc505c11e0f43309e40 (patch) | |
| tree | a908af4e3264e33c6061d9bf1351b25871e94d7d /AGENTS.md | |
| parent | 74ad23120e2a3989bc801c95e476429d1262e0ce (diff) | |
docs: simplify release instructions
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -64,24 +64,17 @@ Default release flow: ```bash 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. +`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, creates the GitHub release, uploads all four binary assets, then updates `website/latest.json` on `master` automatically. -`just update-latest-json 0.x.y` is the post-release website step. It uses `gh release view` against `ogulcancelik/herdr`, verifies the published release exists, rejects draft or prerelease releases, requires a non-empty release body, requires these four assets to exist, and only then rewrites `website/latest.json`: +The release workflow must publish these four assets: - `herdr-linux-x86_64` - `herdr-linux-aarch64` - `herdr-macos-x86_64` - `herdr-macos-aarch64` -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 |
