Cli: v1.22.5 tagged with v2 mod version

Created on 2 Nov 2020  路  3Comments  路  Source: urfave/cli

my urfave/cli version is

v1.22.5

Dependency Management

  • [x] My project is using go modules.
  • [ ] My project is using vendoring.
  • [ ] My project is automatically downloading the latest version.
  • [ ] I am unsure of what my dependency management setup is.

Describe the bug

The go.mod file for v1.22.5 has a v2 module (github.com/urfave/cli/v2; v1.22.4 had the correct github.com/urfave/cli).

To reproduce

$ go mod download github.com/urfave/[email protected]
github.com/urfave/[email protected]: invalid version: go.mod has post-v1 module path "github.com/urfave/cli/v2" at revision v1.22.5

The same works fine for v1.22.4.

arev1 kinbug statutriage

All 3 comments

@asahasrabuddhe maybe some git checkout typo while cutting the simultaneous v1 and v2 releases yesterday?

Hi @costela Looks like I typo. I have fixed it now and your builds should work.

Yes, moving the tag seems to have fixed it. Lucky that proxy.golang.org doesn't seem to have cached (and checksumed) the broken state! :+1:

Was this page helpful?
0 / 5 - 0 ratings