mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2026-10-13 21:34:25 +00:00
[GH-ISSUE #167] The current release contains outdated version information #79
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-go#79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ser9ei on GitHub (Jul 31, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-go/issues/167
After building the latest source, the binary reports:
This does not match the current project release, which currently hardcoded in the:
github.com/amnezia-vpn/amneziawg-go@cf9d2dd202/version.go (L3)Instead of using a constant, would it make sense to use a variable and inject the version during the build process using Go linker ldflags?
For example:
Then the release build could set the version dynamically:
This would ensure that release binaries always report the correct version and eliminate the need to manually update
version.gofor every release.