Chrono.CLI
1.0.0
dotnet tool install --global Chrono.CLI --version 1.0.0
dotnet new tool-manifest
dotnet tool install --local Chrono.CLI --version 1.0.0
#tool dotnet:?package=Chrono.CLI&version=1.0.0
nuke :add-package Chrono.CLI --version 1.0.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 was computed. 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.0.0 | 233 | 4/21/2025 |
1.0.0-rc.8 | 202 | 4/14/2025 |
1.0.0-rc.7 | 237 | 3/4/2025 |
1.0.0-rc.6 | 119 | 3/1/2025 |
1.0.0-rc.5 | 93 | 2/28/2025 |
1.0.0-rc.4 | 128 | 2/18/2025 |
1.0.0-rc.3 | 131 | 2/18/2025 |
1.0.0-rc.2 | 110 | 2/17/2025 |
1.0.0-rc.1 | 92 | 11/4/2024 |
0.10.0 | 193 | 10/20/2024 |
0.6.0 | 182 | 6/2/2024 |