mirror of
https://github.com/k8snetworkplumbingwg/whereabouts.git
synced 2025-06-03 06:42:26 +00:00

The hack/build-go.sh script is modified to pass version information during the build through LDFLAGS, which is a pretty standard technique. This information can then be used to report the version of the whereabouts CNI plugin at runtime; before this change the plugin would just print "TODO".
4 lines
119 B
Go
4 lines
119 B
Go
// Package version provides information about the current semantic version for
|
|
// the whereabouts CNI.
|
|
package version
|