kmpkg x-update-baseline
This section covers an experimental feature of kmpkg which may change or be removed at any time.
Synopsis
kmpkg x-update-baseline [options] [--add-initial-baseline] [--dry-run]
Description
Update baselines for all configured registries.
In Manifest mode, this command operates on all
registries in the kmpkg.json and the
kmpkg-configuration.json. In
Classic mode, this command operates on the kmpkg-configuration.json in the
kmpkg instance ($KMPKG_ROOT).
See the versioning documentation for more information about baselines.
Options
All kmpkg commands support a set of common options.
--dry-run
Print the planned baseline upgrades, but do not modify the files on disk.
--add-initial-baseline
- Manifest mode only
Add a "builtin-baseline" field to the kmpkg.json if it does not already have one.
Without this flag, it is an error to run this command on a manifest that does not have any registries configured.