@csmith/release-it-calver-plugin

2023.12.0 • Public • Published

release-it-calver-plugin

Calender Versioning (calver) plugin for Release It!

codecov

This plugin enables Calendar Versioning (calver) with Release It! This is especially useful for application projects in a continuous delivery environment.

npm install --save-dev @csmith/release-it-calver-plugin

In release-it config:

"plugins": {
  "@csmith/release-it-calver-plugin": {
    "format": "yyyy.mm.minor",
    "increment": "calendar"
  }
}

Configuration examples:

Defaults
{
    "format": "yy.mm.minor",
    "increment": "calendar",
    "fallbackIncrement": "minor"
}
Output in November and December 2024
24.11.0
24.11.1
24.12.1
24.12.2
Custom
{
    "format": "yyyy.mm.minor",
    "increment": "calendar.minor"
}
Output in November and December 2024
2024.11.0
2024.11.1
2024.12.0
2024.12.1

More information on available format tags can be found here: calver

/@csmith/release-it-calver-plugin/

    Package Sidebar

    Install

    npm i @csmith/release-it-calver-plugin

    Weekly Downloads

    2,325

    Version

    2023.12.0

    License

    MIT

    Unpacked Size

    9.81 kB

    Total Files

    8

    Last publish

    Collaborators

    • csmith