Skip to content

x/exp/cmd/gorelease: allow major version comparisons #40913

Closed
@carnott-snap

Description

@carnott-snap

Currently gorelease does not allow comparing between major versions. E.g. (on v2.0.0) gorelease -base v1.0.0 yields:

gorelease: can't compare major versions: base version v1.0.0 does not belong to module path/to/module/v2

While I can understand that this is not part of the normal release flow, it is incredibly useful for generating changelog data, or just figuring out what changed between two releases. Furthermore this is annoying to do with apidiff directly, because it requires NEW be discoverable in the main module:

git checkout v1.0.0
apidiff path/to/module path/to/module/v2

/cc @jayconrod

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.ToolsThis label describes issues relating to any tools in the x/tools repository.modules

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions