On this page:
2.1 Synopsis
2.2 Option flags
2.3 Information flags
8.17.0.6

2 Command-line interface🔗ℹ

2.1 Synopsis🔗ℹ

BumpV invocation in any one of the following forms is accepted:

  • bumpv [option-flag] ... <MAJOR> <MINOR> <PATCH>

  • bumpv <info-flag>

2.2 Option flags🔗ℹ

The option-flag is any one of the following:

  • -n file-name or --name file-name use file-name as the version file name.

    Defaults to "version.rkt".

  • -r file-regexp or --regexp file-regexp use file-regexp as the target files regexp.

    Defaults to #rx".*/info.rkt$".

  • -P or --no-patch-0s exclude PATCH equal to 0 from version string.

    This means that if the PATCH version component is equal to 0, then when a new target file package version definition is written (see --regexp flag), a git commit (see --commit flag) or a git tag is created (see --tag flag), the version string will consist only of MAJOR and MINOR version components, eg "1.1" instead of "1.1.0".

    Defaults to #f (0s are allowed).

  • -c or --commit create a git commit.

    Defaults to #f.

  • -t or --tag create a git tag.

    Defaults to #f.

  • -q or --quiet be quiet (minimal/no console output).

    Defaults to #t.

  • -v or --verbose be verbose (detailed console output).

    Defaults to #f.

2.3 Information flags🔗ℹ

The info-flag is any one of the following:

  • -s or --show show current version components.

  • -h or --help show the help page.

  • -V or --version show the version of this program and exit.