standard-version: add page (#7753)
This commit is contained in:
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`
|
Reference in New Issue
Block a user