Skip to content

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-git reads 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 — Skip preversion / version / postversion lifecycle scripts.

  • --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).

  • -h --help — Print help

MIT LicensejdxCopyright © 2026 jdx.dev