summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuxuan 'fishy' Wang <yuxuan.wang@reddit.com>2021-10-16 15:12:16 -0700
committerYuxuan 'fishy' Wang <yuxuan.wang@reddit.com>2021-10-18 13:14:26 -0700
commita62b40c3dfbbc109ca9f6cbe4edc47abb7394f88 (patch)
tree81029aa63097c68d4ba1f437d40f1f5fdc82e31a
parent6a7278b9db78777f146b09fdfe42eb342faec171 (diff)
downloadthrift-a62b40c3dfbbc109ca9f6cbe4edc47abb7394f88.tar.gz
THRIFT-5472: Retract bad go module version under lib/go/thriftlib/go/thrift/v0.0.1-do-not-use
Currently when people going to https://pkg.go.dev/github.com/apache/thrift@v0.15.0/lib/go/thrift it shows that a previous version with lib/go/thrift/go.mod file is the latest version. With solution provided in https://github.com/golang/go/issues/49015#issuecomment-944993211, this commit will NOT be merged, but tagged as `lib/go/thrift/v0.0.1-do-not-use`, in order to retract the bad version and make `v0.15.0` and the future versions as the correct latest version recognized by go toolchain. [skip ci]
-rw-r--r--lib/go/thrift/go.mod6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/go/thrift/go.mod b/lib/go/thrift/go.mod
new file mode 100644
index 000000000..e4eea82e0
--- /dev/null
+++ b/lib/go/thrift/go.mod
@@ -0,0 +1,6 @@
+module github.com/apache/thrift/lib/go/thrift
+
+go 1.17
+
+// See https://github.com/apache/thrift/releases/tag/lib%2Fgo%2Fthrift%2Fv0.0.1-do-not-use
+retract [v0.0.0-00000000000000-000000000000, v0.0.1-do-not-use]