diff --git a/go/private/sdk.bzl b/go/private/sdk.bzl index aa8e806a2..f0b31246c 100644 --- a/go/private/sdk.bzl +++ b/go/private/sdk.bzl @@ -685,8 +685,6 @@ def _version_less(a, b): def _version_string(v): suffix = v[3] if _version_is_prerelease(v) else "" - if v[-1] == 0: - v = v[:-1] return ".".join([str(n) for n in v]) + suffix def _have_same_length(*lists):