Versioning, change-log and release for Hugo FixIt Similar commit style.
- Update FixIt internal version number. (FixIt Only)
- Generate changelog automatically. (Powered by auto-changelog)
Package Manager | Command |
---|---|
pnpm | pnpm add -D @hugo-fixit/fixit-releaser |
yarn | yarn add -D @hugo-fixit/fixit-releaser |
npm | npm i -D @hugo-fixit/fixit-releaser |
Add the following to package.json
of FixIt project.
{
"scripts": {
"version": "fixit-releaser version --prod",
"release": "fixit-releaser changelog"
}
}
The
fixit-releaser changelog
configuration is compatible with auto-changelog.
Update the FixIt version from v0.3.12-1ca9fdb7 to v0.3.12.
npx fixit-releaser version --prod
Update the FixIt version from v0.3.12-1ca9fdb7 to v0.3.12-2ca9fdb7.
npx fixit-releaser version --dev
Generate the changelog from v0.3.10.
npx fixit-releaser changelog --starting-version v0.3.10
# auto-changelog: 6 kB written to CHANGELOG.md
See more usage in auto-changelog.