Package version bump command

Description

Package version bump command. Will update the package version with these options:

  • --major

  • --minor

  • --patch

The default should be major

Interact with your package's version number. This command must be run from the root of the package.

Running this command with no parameters will output the current version. (Same as "package show version")

Set a specific version number by passing it into this command. (Same as "package set version=1.0.0")

"Bump" the existing version number up by one unit and save in your box.json.
Specify the part of the version to increase with the major, minor, or patch parameter.
Note, "package version" is aliased as "bump".

If multiple version parts are specified, the "larger" one will be used starting with major.
If a version AND a flag are both supplied, the version will be used and the flag(s) ignored.

Gliffy Diagrams

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Components

Sentry

Created September 29, 2014 at 10:50 PM
Updated March 26, 2015 at 9:01 PM
Resolved March 10, 2015 at 10:20 PM