Skip to content

changie diff

changie diff

diff outputs the release notes between versions.

Synopsis

diff outputs to stdout the release notes between two versions.

If the argument is a number, we simply output that many previous versions. If the argument is two versions split between triple dots similar to how GitHub supports as a comparison then we output the release notes between those two.

Finally one last option is any of the constraints options from the semver package: https://github.com/Masterminds/semver#checking-version-constraints.

Between versions we also add an amount of newlines specified by the AfterChangelogVersion value.

changie diff N|>,>=,<,<=version|versiona - versionb|start...end [flags]

Examples

v1.20.0...v1.21.1

Options

  -h, --help               help for diff
  -j, --project string     Specify which project we are interested in
      --skip-prereleases   Excludes prereleases to determine the diff

SEE ALSO

  • changie - changie handles conflict-free changelog management