When built as recommended in the README ('go install github.com/plexsystems/konstraint@latest'), konstraint -v has a blank version string. For it to work correctly, I need to do something like this (based on the Makefile):
go install
-ldflags="-s -w -X 'github.com/plexsystems/konstraint/internal/commands.version=${KONSTRAINT_VERSION}'"
"github.com/plexsystems/konstraint@${KONSTRAINT_VERSION}"
Could this be made to work as described in the README?
When built as recommended in the README ('go install github.com/plexsystems/konstraint@latest'), konstraint -v has a blank version string. For it to work correctly, I need to do something like this (based on the Makefile):
go install
-ldflags="-s -w -X 'github.com/plexsystems/konstraint/internal/commands.version=${KONSTRAINT_VERSION}'"
"github.com/plexsystems/konstraint@${KONSTRAINT_VERSION}"
Could this be made to work as described in the README?