Add CalVer versioning with beta release support #9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements Calendar Versioning (CalVer) with beta release support, matching the versioning scheme used in CeraUI. This provides human-readable version numbers and proper release channels for stable and beta releases.
Changes
🔄 Updated Workflows
.github/workflows/release.ymlrelease_type: Choose betweenstableorbetarelease_notes: Optional release descriptionforce_version: Override auto-detected version if neededYYYY.M.patch(e.g.,v2026.1.0,v2026.1.1)YYYY.M.patch-beta.N(e.g.,v2026.1.2-beta.1).github/workflows/publish-deb.ymlirl-belacodertoceracoder)📚 Documentation
New:
docs/versioning.mdComprehensive documentation covering:
Updated:
README.mdVersion Format
YYYY.M.patchv2026.1.0,v2026.1.1,v2026.2.0YYYY.M.patch-beta.Nv2026.1.1-beta.1,v2026.1.2-beta.2Example Version Progression
How to Use
Creating a Release
stableorbetaThe workflow automatically:
Benefits
✅ Human-readable versions - Date-based versions instead of commit hashes
✅ Beta testing workflow - Test features before stable release
✅ Consistency with CeraUI - Same versioning scheme across projects
✅ Automatic versioning - No manual version bumping
✅ Month-based cycles - Natural release cadence
✅ Pre-release tagging - Beta releases clearly marked on GitHub
Testing
The versioning logic has been tested and verified to match CeraUI's implementation. The workflow will calculate versions based on existing tags in the repository.
Migration
This change is backward compatible. Existing installations with commit-hash versions will continue to work. New releases will use the CalVer format starting from the next release.
Closes: N/A (New feature)
Related: Aligns with CeraUI versioning scheme