Skip to content

aube version

  • Usage: aube version [FLAGS] [NEW_VERSION]

Bump the version in package.json (and optionally create a git commit + tag)

Arguments

[NEW_VERSION]

Bump keyword (major, minor, patch, premajor, preminor, prepatch, prerelease) or an explicit version string. When omitted, prints the current version

Flags

--allow-same-version

Allow setting the version to its current value without erroring

--json

Emit the result as JSON instead of v<version> text

-m --message <MSG>

Commit message template. %s is replaced with the new version. Defaults to v%s

--no-commit-hooks

Skip git pre-commit / commit-msg hooks (passes --no-verify)

--no-git-tag-version

Don't create a git commit or tag. By default aube version commits the manifest change and tags it v<version>

--preid <ID>

Prerelease identifier to use with the pre* keywords (e.g. rc)

--sign-git-tag

GPG-sign the created tag (git tag -s)

Released under the MIT License.