Skip to content

changelog ​

Write the CHANGELOG.md files from the commits, without bump, commit nor publication.

Usage ​

bash
relizy changelog [options]

changelog is the second step of release. Alone, it writes the entry of the current version of each package, from the commits since its last release tag: run it after bump. In a monorepo, it also writes the root CHANGELOG.md, then runs the format command. The global options apply too (--dry-run, --group...).

See Changelog for the content of the entries.

Options ​

FlagDescriptionConfig
--from <ref>Start of the commit range (tag or commit), instead of the last release tagfrom
--to <ref>End of the commit range, HEAD by defaultto
--format-cmd <cmd>Command run after writing the changelogs, {{files}} replaced by their pathschangelog.formatCmd
--no-format-cmdDo not format the changelogs (no formatter detected)changelog.formatCmd: false
--no-root-changelogDo not write the root CHANGELOG.md of a monorepochangelog.rootChangelog
--private-packages <mode>release: write the changelogs of the private packages too, ignore: leave them outmonorepo.privatePackages

Examples ​

bash
# Preview the changelogs
relizy changelog --dry-run

# A given range
relizy changelog --from v1.0.0 --to v1.1.0

# Format the files once written
relizy changelog --format-cmd "pnpm exec prettier --write '**/CHANGELOG.md'"

See Also ​