init – create a baseline

Record an empty chore(release): initialise baseline commit so that future runs of bumpwright have a starting point for comparisons. Run this once when first adopting bumpwright or after importing an existing project without prior release commits.

Primary options

  • --summary [table|json] – Show project summary after initialisation in the chosen format. Must be followed by table or json.

Examples

bumpwright init --summary table

Created baseline release commit.

+————————+——————+ | Version | 0.1.0 | | Public symbols | 1 | | Changes since baseline | 0 | +————————+——————+ Public symbols:

  • init:foo No API-impacting changes since baseline.

{
  "version": "0.1.0",
  "public_symbols": ["__init__:foo"],
  "changes": []
}

See First release from zero for a step-by-step guide.