feat: version releases by date, YEAR.MONTH.BUILD (#61) #85

Merged
jfro merged 1 commit from chore/61-date-versions into main 2026-11-28 16:24:14 +00:00
Owner

What changed

PR #85 switches releases to YEAR.MONTH.BUILD per D1/D2 (next-version.sh, mise release, cliff.toml, release.yml image tags, docs); its 5 script tests fail on main and pass here, CI is green, and a full mise run release in a throwaway clone pushing to a local bare repo bumped mix.exs, wrote the changelog and signed tag v2026.11.1, then offered 2026.11.2 next.

Fixes #61

Red, then green

  • next-version.sh gives YEAR.MONTH.BUILD from the month's tags: build 1 for a new month, highest build + 1 otherwise (numeric), no zero-padded month, and it turns down malformed months.: bash -c 'source ~/.rmenv; export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; unset ${!FORGEJO_@} ${!GITHUB_ISSUES_@}; MIX_TEST_PARTITION=_61p mix test test/release/next_version_test.exs'
    • fails on the base (9e21ee0): exit 1
    • passes on the branch (495d70a): exit 0

Shipping it

  • Goes live when it merges: no. Merging changes only the release tooling and docs; nothing deploys until Jeremy runs mise run release.
  • Undo: a revert puts it back.
  • Not tried on the real thing: The release.yml image tags on the real Forgejo runner (only runs when a v* tag is pushed); the next release's tags will be 2026.12.1, 2026.12 and latest.
  • For later: Run the release on or after Dec 1 (UTC) to get 2026.12.1; before that it comes out as 2026.11.1. Anyone pinned to image :1 stays on 1.3.0 until they switch to :2026.12 or latest; the docs now pin :2026.12, which exists once that release is out.

Prover

Checking now.

Every command above was run by Fortysix's Basecamp itself, on the branch named.

## What changed PR #85 switches releases to YEAR.MONTH.BUILD per D1/D2 (next-version.sh, mise release, cliff.toml, release.yml image tags, docs); its 5 script tests fail on main and pass here, CI is green, and a full mise run release in a throwaway clone pushing to a local bare repo bumped mix.exs, wrote the changelog and signed tag v2026.11.1, then offered 2026.11.2 next. Fixes #61 ## Red, then green - next-version.sh gives YEAR.MONTH.BUILD from the month's tags: build 1 for a new month, highest build + 1 otherwise (numeric), no zero-padded month, and it turns down malformed months.: `bash -c 'source ~/.rmenv; export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; unset ${!FORGEJO_@} ${!GITHUB_ISSUES_@}; MIX_TEST_PARTITION=_61p mix test test/release/next_version_test.exs'` - fails on the base (9e21ee0): exit 1 - passes on the branch (495d70a): exit 0 ## Shipping it - Goes live when it merges: no. Merging changes only the release tooling and docs; nothing deploys until Jeremy runs mise run release. - Undo: a revert puts it back. - Not tried on the real thing: The release.yml image tags on the real Forgejo runner (only runs when a v* tag is pushed); the next release's tags will be 2026.12.1, 2026.12 and latest. - For later: Run the release on or after Dec 1 (UTC) to get 2026.12.1; before that it comes out as 2026.11.1. Anyone pinned to image :1 stays on 1.3.0 until they switch to :2026.12 or latest; the docs now pin :2026.12, which exists once that release is out. ## Prover Checking now. Every command above was run by Fortysix's Basecamp itself, on the branch named.
jfro added this to the v1.4 milestone 2026-11-28 16:16:58 +00:00
feat: version releases by date, YEAR.MONTH.BUILD (#61)
All checks were successful
CI / test (pull_request) Successful in 1m18s
495d70a169
The next release is 2026.12.1: the month of the release, without a
leading zero so it's still valid SemVer for Mix, and a build that
starts at 1 each month. .forgejo/scripts/next-version.sh works it out
from the month's v* tags; `mise run release` uses it, or takes an
exact version. git-cliff only writes the notes now. Images are tagged
with the version, the month and latest (no year tag), and the docs pin
a month.

Closes #61
jfro merged commit 56cd2262d9 into main 2026-11-28 16:24:14 +00:00
Sign in to join this conversation.
No description provided.