-
Notifications
You must be signed in to change notification settings - Fork 428
Open
Description
defaultFlags is always ignored by ko.
already opened once in #1450 and fix provided in PR #1464.
this is still an issue and represents a major bug!
another issue is that an empty builds:ldflags does not override defaultLdflags.
this may also be the case for defaultFlags, hard to test currently though...
defaultLdflags:
- -s -w
- -extldflags "-static"
builds:
- id: dynamic
main: ./cmd/dynamic/example
ldflags: [] ## does not override global defaults with empty list
# ldflags: [ "" ] ## dummy entry needed to overridegartnera
Metadata
Metadata
Assignees
Labels
No labels