Chrono.CLI
1.1.0
dotnet tool install --global Chrono.CLI --version 1.1.0
dotnet new tool-manifest
dotnet tool install --local Chrono.CLI --version 1.1.0
#tool dotnet:?package=Chrono.CLI&version=1.1.0
nuke :add-package Chrono.CLI --version 1.1.0
Chrono.CLI
📚 About
Chrono is a git versioning tool with a focus on being customizable and easy to configure.
Based on your configured templates it easily retrieves version information based on the current state or your repo.
It provides a CLI and a NugetPackage for automatic version stamping. For a detailed description please consider the documentation
The CLI consists of a few commands that can be split into two categories. Version and Git commands. Version commands like get/set/bump are used to retrieve, set or bump the version.
Git commands like branch/release/tag are used to create a new branch or tag based on the template provided in the version file.
🚀 Getting started
In order to use Chrono you first need to have a version.yml file in the root of your project. Secondly you also either need to have the Chrono CLI installed or use the Chrono.DotnetVersioning package in your project.
The CLI provides a convenience command "chrono init" to create a version.yml and optionally a Directory.Build.props file for setting up initial versioning.
Next up create a version.yml (for now only a version.yml at the root of your git repo is supported)
For the content of version.yml either checkout the default example below.
version: 1.0.0
default:
versionSchema: '{major}.{minor}.{patch}.{build}[-]{branch}[.]{commitShortHash}'
precision: build
prereleaseTag: dev
release:
match:
- ^release/.*
versionSchema: '{major}.{minor}.{patch}'
or read the full documentation.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.0 | 223 | 12/25/2025 |
| 1.0.0 | 261 | 4/21/2025 |
| 1.0.0-rc.8 | 234 | 4/14/2025 |
| 1.0.0-rc.7 | 261 | 3/4/2025 |
| 1.0.0-rc.6 | 142 | 3/1/2025 |
| 1.0.0-rc.5 | 116 | 2/28/2025 |
| 1.0.0-rc.4 | 157 | 2/18/2025 |
| 1.0.0-rc.3 | 165 | 2/18/2025 |
| 1.0.0-rc.2 | 139 | 2/17/2025 |
| 1.0.0-rc.1 | 131 | 11/4/2024 |
| 0.10.0 | 228 | 10/20/2024 |
| 0.6.0 | 221 | 6/2/2024 |