From 844d4b8a718f46eb580a7a84afa00eb15c1b7a9a Mon Sep 17 00:00:00 2001 From: Sebastian Zagrodzki Date: Tue, 29 Mar 2022 23:13:07 +0200 Subject: [PATCH] Add a retract version for v2.1.0+incompatible. (#109) This will avoid listing this version in "go list -m -versions", which is used by GitHub's dependabot. The "go list" is expected to list versions oldest to newest, but it doesn't exclude the "+incompatible" versions and treats v2.1.0 as the newest. We don't want that, 1.1 is the latest at the moment. --- go.mod | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 5711cb3..1022f54 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,6 @@ module github.com/google/gousb -go 1.13 +go 1.16 + +// Released in error, v1.* remains the current version. +retract v2.1.0+incompatible