Skip to content

x/exp/cmd/gorelease: accept any release version when inferring base version of untagged repo #40267

Closed
@qmuntal

Description

@qmuntal

gorelease should always fallback to none when inferring the base version in repositories without available versions.

The current implementation only fallbacks to none when releaseVersion is x.0.0 | 0.0.1 | 0.1.0 and fails one other situations. This behavior is not a semver requirement and despite being a good practice it may be too strict for modules which are required to start the version with other minor or patch numbers for whatever business, technical or legacy reason.

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