Skip to content

Release generate-module-calver

release generate-module-calver - Generate a calver tag for a module

Generates a calendar-versioned (calver) tag in the format prefix/YYYY.MMDD.HHMM.

Format follows CD Model CalVer specification: - YYYY: Four-digit year - MMDD: Month and day (packed, no separator) - HHMM: Hour and minute in UTC (ensures uniqueness) - Patch: Omitted (inferred as 0 for main branch commits)

By default, only outputs the tag name. Use --create to create the git tag.

Flags

Flag Description
--create Create the git tag (default: false, just output tag name)
--push Push the tag to remote after creation (requires --create)
--dry-run Show what would be done without creating/pushing

Notes

Expected Output:

  • Tag name in format prefix/YYYY.MMDD.HHMM (default behavior)
  • Git tag created if --create flag is specified

Examples

release generate-module-calver docs                    # Output: docs/2025.1214.1630
release generate-module-calver docs --create           # Create the tag locally
release generate-module-calver docs --create --push    # Create and push the tag

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.