Closed btipling closed 6 months ago
Hi! Some workaround to avoid this issue:
go install -ldflags "-X main.version=3.1.2" github.com/gojuno/minimock/v3/cmd/minimock@v3.1.2
Hey guys, there's nothing I can do about this really. The only way to have correct version for the minimock installed via go get is update these vars manually (which I don't want to do). So please download the pre-built binaries from the releases/tags page
go get github.com/gojuno/minimock/v3/cmd/minimock@v3.0.8
minimock --version
In addition the top of the mocks all say:
Instead of (3.0.8)
If you download the tagged release source code it shows as "dev"[0]:
[0] https://github.com/gojuno/minimock/archive/v3.0.8.zip