increment-version(1)

Synopsis

increment-version mode [options] [--] [package-loc]

increment-version --help|-h|-?

Description

increment-version will increment the current version of a cetmodules-using package. Optionally find all other packages where said package is listed as a dependency and update the required version.

Deprecated since version 2.0: This script is deprecated, as it operates only on unmigrated sources where the version has not been migrated to the project() call in the top-level CMakeLists.txt.

Arguments

package-loc

Path to top directory of package whose version should be bumped.

Options

Modes

Precisely one mode type should be specified (although -U may be specified multiple times).

-M, --major

Increment the major version number, zeroing all used subordinate version designators.

-m, --minor

Increment the minor version number, zeroing all used subordinate version designators.

-u, --micro

Increment the micro version number, resetting any patch number.

-p, --patch

Increment the patch number.

--update-only <package>,<version>, -U <package>,<version>

Do not increment any version numbers; simply navigate the directories specified with the increment-version --client-dir option (or ./ if not specified) to update any references to the named package(s) to use the specified version(s) thereof.

Other Options

--client-dir <package-client-search-path>, -c <package-client-search-path>

Specify a directory to search for ups/product_deps in which to update the set-up versions of the updated product(s); or those of products specified with -U.

--debug, -d

Debug mode: leave temporary files available.

--dry-run, -n

Do not actually update anything: just say what would be done.

Note

currently unimplemented.

--help, -h, -?

Help and usage information.

--tag

Commit changes to product_deps and tag all updated packages with their new versions.

--verbose, -v