Closed beono closed 4 years ago
Hi @beono
Please try v3.0.6
It should output version in the following way:
minimock -version
MiniMock version 3.0.6
Git commit: 57f4d9b2072f15ca9ca016c7a42604721cb81982
Build date: 2019-11-15T12:58:29+03:00
@hexdigest
Hi, thanks for your attention to this issue.
Unfortunately, I get this
$ go install github.com/gojuno/minimock/v3/cmd/minimock
$ minimock -version
MiniMock version dev
Git commit: dev
Build date: 2019-11-15T14:03:29+03:00
@beono
-version flag shows version of the official build which is injected at compile time
if you install it using go install
it will always show "dev"
Hi,
There was a flag
-version
and now it's missing for some reason. https://github.com/gojuno/minimock/pull/9It would be nice to bring it back