Forrest logo
back to the standard-version tool

standard-version:tldr:78528

standard-version: Tag a release without bumping the version.
$ standard-version --first-release
try on your machine

The standard-version --first-release command is used to initialize a project's versioning using the standard-version tool, and indicates that it is the very first release of the project.

Here's a breakdown of what this command does:

  1. standard-version: Refers to the standard-version tool, a command-line utility for automating the process of versioning a project according to specific guidelines (such as Semantic Versioning).
  2. --first-release: This flag is used to specify that this is the initial release of the project. It triggers standard-version to set the version number to 1.0.0 (or any other initial version defined in the tool's configuration) and automatically generate appropriate release notes and tags.

When this command is executed, it typically performs the following actions:

  1. Updates the project's version number to the specified initial version (e.g., 1.0.0).
  2. Generates release notes for this initial release, containing information like features, bug fixes, and improvements.
  3. Tags the commit associated with this release with the appropriate version tag.

This command simplifies the process of managing version numbers and generating release information, automating certain tasks to ensure consistency and save time for developers.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the standard-version tool