Add micro component to calver to allow multiple same-day releases #137
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The current calver scheme
YYYY.M.D(e.g.2026.8.12) blocks a second release on the same date —just releaserefuses to run when$NEXT == $CURRENT. There's no way to release twice on the same day without manual tag surgery and PyPI/container conflicts.Switch to
YYYY.M.D.Nwhere N starts at 1 and increments for each release on the same day.Changes:
pyproject.toml: version format + bump-my-version parse/serializejustfile: micro-aware release logic (same-day → increment micro, new-day → reset to .1)Release-Notes.md.template: version placeholderPlan
Root cause:
YYYY.M.Dcalver has no sub-day resolution. Thejust releaseguardif [[ "$NEXT" == "$CURRENT" ]]explicitly blocks a second release on the same date.Approach: Switch to
YYYY.M.D.N— micro component always present, starts at.1for the first release of each day, increments for subsequent same-day releases.Changes:
pyproject.toml—version = "2026.8.12.1", bump-my-version parse/serialize updated, files entries unchanged (they already use{current_version}/{new_version}).justfile—releaserecipe: instead of blocking same-day, parse the current version's date and micro. If today's date matches the current date, increment micro; otherwise set toTODAY.1.Release-Notes.md.template— cosmetic:YYYY.MM.DD→YYYY.MM.DD.Nplaceholder (the actual version is filled by bump-my-version).Branch:
feat/issue-137-micro-calverCommits:
PR:
fj pr createtargetingmain