-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Versioning: Get the version from the right place
The "hyper" calico changes meant that startup.go would never get a version populated. Instead, let's just get versioning information from one place. It can't be "main" since startup can't import that, so at build time just store the version in startup.VERSION then the version command in main.go can retrieve it from there.
- Loading branch information
Showing
2 changed files
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters