Skip to content

Commit 94ed09d

Browse files
author
Felix Frank
committed
go.mod: Clarify retractions
Add a comment to go.mod that is placed according to the go.mod specification to give some background to the retraction of older releases. Also make the text more clear to explain what happened. The 2.0.0 version is removed from the list, as it was leading to an error e.g. from go mod tidy: go.mod:24:2: retract github.com/tredoe/osutil: version "v2.0.0" invalid: should be v0 or v1, not v2
1 parent f2365ec commit 94ed09d

File tree

1 file changed

+18
-21
lines changed

1 file changed

+18
-21
lines changed

go.mod

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,23 @@ module github.com/tredoe/osutil
22

33
go 1.16
44

5-
// Breaking changes
6-
// curl proxy.golang.org/github.com/tredoe/osutil/@v/list |sort -V
75
retract (
8-
v1.1.0
9-
v1.1.1
10-
v1.1.2
11-
v1.1.3
12-
v1.1.4
13-
v1.1.5
14-
v1.1.6
15-
v1.1.7
16-
v1.1.8
17-
v1.2.0
18-
v1.2.1
19-
v1.3.0
20-
v1.3.1
21-
v1.3.2
22-
v1.3.3
23-
v1.3.4
24-
v1.3.5
256
v1.3.6
26-
v2.0.0
27-
)
7+
v1.3.5
8+
v1.3.4
9+
v1.3.3
10+
v1.3.2
11+
v1.3.1
12+
v1.3.0
13+
v1.2.1
14+
v1.2.0
15+
v1.1.8
16+
v1.1.7
17+
v1.1.6
18+
v1.1.5
19+
v1.1.4
20+
v1.1.3
21+
v1.1.2
22+
v1.1.1
23+
v1.1.0
24+
) // older releases are no longer installable, as they depended on another module that no longer exists

0 commit comments

Comments
 (0)