Closed deggja closed 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
go build -ldflags "-X 'github.com/deggja/netfetch/backend/cmd.Version=3.2.7'" -o netfetch
this fixes #115
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