deggja / netfetch

Kubernetes tool for scanning clusters for network policies and identifying unprotected workloads.
MIT License
363 stars 23 forks source link

fix: implement dynamic app version #122

Closed deggja closed 7 months ago

deggja commented 7 months ago

remove constant version from root.go, rely on ldflags in go to set application version when building the app

e.g. go build -ldflags "-X 'github.com/deggja/netfetch/backend/cmd.Version=3.2.7'" -o netfetch

this fixes #115