cog-bump1
Commit changelog from latest tag to head and create new tag
Usage
cog-bump [--version]
[{-a | --auto}]
[{-M | --major}]
[{-m | --minor}]
[{-p | --patch}]
[--pre]
[--build]
[{-H | --hook-profile}]
[--package]
[{-A | --annotated}]
[{-d | --dry-run}]
[--skip-ci]
[--skip-ci-override]
[--skip-untracked]
[--disable-bump-commit]
[--include-packages]
[{-h | --help}]
Overview
Commit changelog from latest tag to HEAD and create new tag
Options
-
--version <VERSION> -
Manually set the target version
-
-a, --auto -
Automatically suggest the target version
-
-M, --major -
Increment the major version
-
-m, --minor -
Increment the minor version
-
-p, --patch -
Increment the patch version
-
--pre [<PRE>] -
Set the pre-release version (e.g. "beta.1")
Or increment based on a pattern (e.g. "beta.*")
If no value provided, falls back to the pre defined in cog.toml
-
--build <BUILD> -
Set the build suffix
-
-H, --hook-profile <HOOK_PROFILE> -
Specify the bump profile hooks to run
-
--package <PACKAGE> -
Specify which package to bump for monorepo
-
-A, --annotated <ANNOTATED> -
Annotate tag with given message
-
-d, --dry-run -
Dry-run: print the target version. No action taken
-
--skip-ci -
Add the skip-ci string defined in the cog.toml (or defaults to [skip ci]) to the bump commit
-
--skip-ci-override <SKIP_CI_OVERRIDE> -
Override and add the skip-ci string with the provided value to the bump commit
-
--skip-untracked -
Don't fail if there are untracked or uncommitted files
-
--disable-bump-commit -
Disable the creation of the bump commit
-
--include-packages -
Also bump packages on manual bump
Overrides the default behaviour for --patch, --minor, --major and --version to only bump the global version for monorepos. Useful to bump to version 1.0.0.
-
-h, --help -
Print help (see a summary with '-h')