Skip to content

feat: zero-padded calver with same-day suffixes#31

Merged
fredsmith merged 2 commits into
mainfrom
feat/calver-zero-padded
Mar 1, 2026
Merged

feat: zero-padded calver with same-day suffixes#31
fredsmith merged 2 commits into
mainfrom
feat/calver-zero-padded

Conversation

@fredsmith

Copy link
Copy Markdown
Owner

Summary

Changes calver format from 2026.3.1 to 2026.03.01 with -02, -03 suffixes for same-day releases.

Version scheme

Push # Tag Cargo version
1st today v2026.03.01 2026.3.1
2nd today v2026.03.01-02 2026.3.1-2
3rd today v2026.03.01-03 2026.3.1-3

Key changes

  • Zero-padded month/day for correct sort order in brew upgrade
  • Each push gets a unique release (no more delete-and-replace)
  • New cargo_version output strips leading zeros for Cargo.toml semver compliance
  • DMG filenames, cask version, and tags all use the zero-padded format

Test plan

  • Merge creates release v2026.03.01-02 (since v2026.03.01 exists from earlier)
  • All platform builds succeed with patched versions
  • Cask is updated with correct version and sha256 hashes
  • brew upgrade --cask icq26a picks up the new version

🤖 Generated with Claude Code

fredsmith and others added 2 commits March 1, 2026 09:14
When multiple pushes to main happen on the same day, the version job
was skipping the build because the tag already existed. Now it deletes
the stale release and rebuilds, so the latest code is always released.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Version format: 2026.03.01, 2026.03.01-02, 2026.03.01-03, etc.
Each push to main gets its own unique release instead of replacing.

- Zero-padded dates sort correctly for brew upgrade
- Suffixed versions (-02, -03) for multiple releases per day
- Separate cargo_version output strips leading zeros for semver
  compliance (2026.3.1, 2026.3.1-2)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@fredsmith fredsmith merged commit c543b1e into main Mar 1, 2026
1 check passed
@fredsmith fredsmith deleted the feat/calver-zero-padded branch March 1, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant