-
Notifications
You must be signed in to change notification settings - Fork 63
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
Fix version formatting #118
Conversation
Hardcoded version numbers are easy to forget to update.
@mckern I'm trying to understand the new usage of the After a global install of
Same output for v0.12.1. How does one accurately get the tag version? |
@hans-bala-glean I get the same results as you, and based on this comment in the code, I am guessing that something about goreleaser has gone wrong. Ping @mckern |
Just a heads up that Ryan is OOO for this week. but I'll try to remember to bring this up with him when he returns. |
I'm back and will take a look; are y'all running into this running |
@telemachus @hans-bala-glean yeah, I'm guessing y'all are using This is from the artifacts:
I am not really sure there's a bug here -- if you're running |
Yes, I installed via |
Running
Compared to:
If we're talking about doing something in a scripted environment, yes, But! Here's some numbers instead of rhetoric:
Or, including checksumming (since we provide a checksum list):
Compared to running
So, this is not a bug. If you think the implementation is incomplete or needs refinement and you're so inclined to fix or refine it, then we look forward to reviewing your contribution. |
not working! ❯ go install github.com/segmentio/[email protected] ▼
❯ golines --version ▼
golines vdev
build information:
build date: unknown
git commit ref: none |
Can refer to the way of gofumpt, generally find the package version number downloaded in gopath to return the specific version number information, there is no need to hard-code |
@Panlq we do not recommend you use |
Hardcoded version numbers are easy to forget to update.