csproj-version
v0.1.1
Published
versioning .csproj files in projects under a .NET solution
Downloads
197
Maintainers
Readme
csproj-version
CLI tool to bump semver versioning for .NET solutions
Brief
Traverse all *.csproj / *.fsproj / *.vbproj under designated directory, and bump version based on semver rules.
Install
# npm
npm install -d csproj-version
# yarn
yarn global add csproj-version
# pnpm
pnpm add -g csproj-version
Usage
cd DotNetSolutionFolder
dotver
# or
dotver -r minor
dotver -d . -v -r major
Options:
-r --release release type. default: "patch"
-d --directory directory. default: "."
-o --omit omit (regex pattern). default: "test$"
-v --verbose show info. default: false
-s --simulate simulate only without modifying file. default: false
Requirement
node >= 20.0.0