The Version Incrementer Tool is a small utility designed to automate the process of incrementing version numbers in software projects. It provides a simple and efficient way to manage versioning, allowing developers to easily update and track changes in their codebase. With this tool, developers can save time and ensure consistency in versioning across their projects.
- Increment version numbers in a project
- Increment major, minor, or patch version numbers
To install the Version Incrementer Tool, follow these steps:
# install as dotnet tool
dotnet tool install --global VersionIncrementerTool --version 0.2.0
# install as local tool
dotnet new tool-manifest
dotnet tool install --local VersionIncrementerTool --version 0.2.0
To use the Version Incrementer Tool, run the following command in your project directory with a csproj file and version tag in the format <version>x.y.z</version>
:
dotnet vit <Major|Minor|Patch>
To build the project, run the following command:
dotnet build -c Release
dotnet pack -c Release
dotnet tool install versionincrementertool --add-source "/[devpath]/VersionIncrementerTool/src/nupkg/"
This project is licensed under the MIT License - see the LICENSE file for details.
This tool is provided as-is, without any warranty or guarantee of any kind. Use at your own risk.