mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
standard-version: add page (#7753)
This commit is contained in:
parent
ac627da668
commit
139450a866
1 changed files with 36 additions and 0 deletions
36
pages/common/standard-version.md
Normal file
36
pages/common/standard-version.md
Normal file
|
@ -0,0 +1,36 @@
|
|||
# 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`
|
Loading…
Add table
Reference in a new issue