-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Released version of moq does not print correct version #143
Comments
I had used goreleaser to build the binaries. Not sure why the version was not passed in using
@matryer Is there anything wrong with the above steps? |
Those commands are slightly different to what I use, see the releasing.md But I don't know why that would make a difference. Maybe @caarlos0 has an idea? |
Hey! Your goreleaser config is setting Version (capital V) instead of version... probably that's the issue... |
@caarlos0 Thanks for your help. That's it, the variable is unexported in main and they don't match. |
Verified, this is fixed. Thanks everyone.
|
I just downloaded the pre-compiled version of
moq
v0.2.0 from Github releases and it does not print the correct version:Expected:
The text was updated successfully, but these errors were encountered: