-
Notifications
You must be signed in to change notification settings - Fork 42
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
would it make sense for versioning to be committed #19
Comments
here is an example: https://github.com/alda-lang/alda/blob/master/client/gen/version/main.go |
Hi, I just tested it with goreleaser and here is what I get:
So, this is clearly doable 😉 |
nice example ! https://github.com/goreleaser/goreleaser/blob/main/main.go#L29 He uses a Task, instead of make file and its here to kick off: |
This now works in version 0.7.0:
|
thanks @oligot works great for me too. |
Maybe i have got this wrong but anyway.
I tend to use go install x.y.z@tag cause it works so well these days, but i dont get version info because its NOT in the golang code that is tagged.
The solution is to have a version.go file that always has the correct version.
goreleaser will just overwrite it with the same value during CI i expect ?
What ya think ?
The text was updated successfully, but these errors were encountered: