x/exp/cmd/gorelease: set allowed changes with -compatibility flag #39191
Labels
FeatureRequest
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Currently, gorelease determines whether compatible and incompatible API changes are allowed based on the module base version and release version. It follows semver guidelines, for example, allowing incompatible changes at base major version v0.
Users may want to apply different (usually stricter) compatibility guidelines. For example, a module may want to forbid incompatible API changes between minor versions at v0, even though semver allows them.
gorelease should accept a
-compatibility
flag that allows users to set the compatibility level explicitly. For example:cc @liggitt
The text was updated successfully, but these errors were encountered: