tofuutils / tenv

OpenTofu / Terraform / Terragrunt and Atmos version manager
https://tofuutils.github.io/tenv/
Apache License 2.0
662 stars 32 forks source link

go install -v github.com/tofuutils/tenv/cmd/tenv@latest installing version 1 #176

Closed kron4eg closed 3 months ago

kron4eg commented 3 months ago

Describe the bug Since you have tagged v2 version of the package, can you also please update go.mod file, with

module github.com/tofuutils/tenv/v2

To make it go install-able again.

To Reproduce Steps to reproduce the behavior:

$ go install -v github.com/tofuutils/tenv/cmd/tenv@latest
go: downloading github.com/tofuutils/tenv v1.11.19

Expected behavior

go install -v github.com/tofuutils/tenv/cmd/tenv/v2@latest will install latest v2.

Environment (please complete the following information):

kvendingoldo commented 3 months ago

https://github.com/tofuutils/tenv/pull/177

kvendingoldo commented 3 months ago

looks like that quick fix didn't help. Will check it later

kron4eg commented 3 months ago

Original command from the description had /v2 in the wrong place. Actual command looks like this:

$ go install -v github.com/tofuutils/tenv/v2/cmd/...@latest
go: downloading github.com/tofuutils/tenv/v2 v2.1.7
github.com/tofuutils/tenv/v2/pkg/reversecmp
github.com/tofuutils/tenv/v2/pkg/winbin