-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
The expectation is for the branch and tag versions to align with the server version #574
Comments
This issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨ |
/accept |
@cubxxw Glad to see you accepted this issue🤲, this issue has been assigned to you. I set the milestones for this issue to , We are looking forward to your PR! |
The SemVer specification format is [name]x.y.z-[state+buildmetadata], for example, v2.1.5 and v1.2.3-alpha-1 +001. |
go build -ldflags can pass the specified arguments to go tool's link in the format: -ldflags '[pattern=]arg list', for example: -X importpath.name=value.
|
You can see that -X importpath.name=value tells the Go linker to assign value to the name variable in the importpath package. Note: name must be a string variable, otherwise the compiler will report the following error |
|
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
restart |
restart |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Checklist
Is this feature request related to a problem?
None
Problem Description
Solution Description
The expectation is for the branch and tag versions to align with the server version, and for the server to print the actual version information upon startup.
Benefits
The expectation is for the branch and tag versions to align with the server version, and for the server to print the actual version information upon startup.
Potential Drawbacks
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: