Skip to content

cmd/go: do not treat branches with semantic-version names as releases #35671

@bcmills

Description

@bcmills

#33558 (comment) reports a situation in which a v2.0.0 branch was created and subsequently removed, but proxy.golang.org cached a v2.0.0+incompatible release.

If someone creates a branch named v2.0.0, they probably intend for that branch to contain the development leading up to v2.0.0, not for that branch as first published to be the definitive final release of v2.0.0. The go command should not mistake the former for the latter.

CC @jayconrod @mattn @thepudds

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions