Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.67 KB

File metadata and controls

65 lines (44 loc) · 1.67 KB

Releasing

NullClaw uses CalVer with the format YYYY.M.D (e.g., v2026.3.12).

Pushing a tag matching v* triggers the Release workflow, which builds binaries for all supported platforms and publishes a GitHub Release.

Steps

  1. Checkout and update main

    git checkout main
    git pull origin main
  2. Create a release branch

    git checkout -b release/vYYYY.M.D
  3. Bump the version in build.zig.zon

    Update the .version field to match today's date:

    - .version = "2026.3.11",
    + .version = "2026.3.12",
  4. Commit the version bump

    git add build.zig.zon
    git commit -m "vYYYY.M.D"
  5. Tag and push the branch

    git tag vYYYY.M.D
    git push origin release/vYYYY.M.D --tags

    The tag push triggers CI builds. If builds fail, fix on the branch, move the tag, and push again:

    # after fixing and committing:
    git tag -f vYYYY.M.D
    git push origin release/vYYYY.M.D --tags --force
  6. Create a PR once builds pass

    gh pr create --title "vYYYY.M.D" --body "Version bump for vYYYY.M.D release."
  7. Merge the PR (or get it reviewed and merged)

Notes

  • The tag is created on the release branch so CI builds run before merging to main. This avoids having to push fixes directly to main if builds fail.
  • If multiple releases happen on the same day, append a patch number (e.g., v2026.3.12.1), though this should be rare.
  • NullHub follows the same versioning and release process. Both repos should be released together with matching version numbers.