aube version
- Usage:
aube version [FLAGS] [NEW_VERSION] - Effect: modifies state
Bump the version in package.json (and optionally create a git commit + tag)
Arguments
[NEW_VERSION]— Bump keyword or an explicit version string.Accepts
major,minor,patch,premajor,preminor,prepatch,prerelease,from-git, or an explicit version.from-gitreads the nearest reachable version-like Git tag. When omitted, prints the current version.
Flags
--allow-same-version— Allow setting the version to its current value without erroring.--ignore-scripts— Skippreversion/version/postversionlifecycle scripts.--json— Emit the result as JSON instead ofv<version>text.-m --message <MSG>— Commit message template.%sis replaced with the new version. Defaults tov%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 versioncommits the manifest change and tags itv<version>.--preid <ID>— Prerelease identifier to use with thepre*keywords (e.g.rc).--sign-git-tag— GPG-sign the created tag (git tag -s).-h --help— Print help