Skip to content

Conversation

@fujiwara
Copy link
Contributor

Summary

  • Add tagpr.calendarVersioning config option to enable Calendar Versioning
  • Version format: YYYY.MMDD.patch (e.g., v2026.123.0 for January 23rd, 2026)
  • Can be enabled via config file or TAGPR_CALENDAR_VERSIONING environment variable
  • When enabled, major and minor labels are ignored; version is determined by date

Changes

  • config.go: Add calendarVersioning configuration
  • semver.go: CalVer logic (already existed, now integrated)
  • tagpr.go: Integrate CalVer setting into Run()
  • calver_test.go, config_test.go: Add tests
  • README.md: Add documentation

🤖 Generated with Claude Code

Add tagpr.calendarVersioning config option to enable YYYY.MMDD.patch
versioning format. When enabled, major/minor labels are ignored.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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