Automatic versioning and CHANGELOG generation, with semver and conventional commits for dotnet
// momentum
// why it's here
- Active: last commit today
- Has issues labelled for new contributors
- Around since 2018 and still shipping
// how to help
// readme
Versionize
stop using weird build scripts to increment your nugetβs version, use
versionize!
Automatic versioning and CHANGELOG generation, using conventional commit messages.
how it works:
- when you land commits on your
mainbranch, select the Squash and Merge option (not required). - add a title and body that follows the Conventional Commits Specification.
- when youβre ready to release a nuget package:
git checkout main; git pull origin main- run
versionize git push --follow-tags origin maindotnet packdotnet nuget push
versionize does the following:
- bumps the version in your
.csprojfile (based on your commit history) - uses conventional-changelog to update CHANGELOG.md
- commits
.csprojfile and CHANGELOG.md - tags a new release
Installation
dotnet tool install --global Versionize