1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 11:42:08 +02:00
tldr/pages/common/standard-version.md
2022-02-21 06:40:03 -03:00

36 lines
984 B
Markdown

# standard-version
> Automate versioning and changelog generation, with SemVer and Conventional Commits.
> More information: <https://github.com/conventional-changelog/standard-version>.
- Update the changelog file and tag a release:
`standard-version`
- Tag a release without bumping the version:
`standard-version --first-release`
- Update the changelog and tag an alpha release:
`standard-version --prerelease alpha`
- Update the changelog and tag a specific release type:
`standard-version --release-as {{major|minor|patch}}`
- Tag a release, preventing hooks from being verified during the commit step:
`standard-version --no-verify`
- Tag a release committing all staged changes, not just files affected by `standard-version`:
`standard-version --commit-all`
- Update a specific changelog file and tag a release:
`standard-version --infile {{path/to/file.md}}`
- Display the release that would be performed without performing them:
`standard-version --dry-run`