Skip to content

Retract incorrectly tagged out-of-order version (v1.2.3) #398

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions lib/go/contracts/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,12 @@ require (
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

// This retraction block retracts version v1.2.3, which was tagged out-of-order.
// Currently go considers v1.2.3 to be the latest version, due to semver ordering,
// despite it being several months old and many revisions behind the tip.
// This retract block is based on https://go.dev/ref/mod#go-mod-file-retract.
retract (
v1.2.4 // contains retraction only
v1.2.3 // accidentally published with out-of-order tag
)
9 changes: 9 additions & 0 deletions lib/go/templates/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,12 @@ require (
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

// This retraction block retracts version v1.2.3, which was tagged out-of-order.
// Currently go considers v1.2.3 to be the latest version, due to semver ordering,
// despite it being several months old and many revisions behind the tip.
// This retract block is based on https://go.dev/ref/mod#go-mod-file-retract.
retract (
v1.2.4 // contains retraction only
v1.2.3 // accidentally published with out-of-order tag
)