HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

standard-version — Automate versioning and changelog generation, with SemVer and Conventional Commits. More information

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandandchangelogautomategenerationcliversioningstandard-version

Problem

How to use the standard-version command: Automate versioning and changelog generation, with SemVer and Conventional Commits. More information: <https://github.com/conventional-changelog/standard-version>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/standard-version

Revisions (0)

No revisions yet.