Skip to content

Commit

Permalink
removed unnecessary ldflag for git dirty
Browse files Browse the repository at this point in the history
  • Loading branch information
ehearneRedHat committed Jun 12, 2024
1 parent d198cc8 commit b633b72
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ install: fmt vet
fi; \
fi; \
LDFLAGS="-X 'github.com/kuadrant/kuadrantctl/version.GitHash=$$GIT_HASH'"; \
if [ "$$IS_DIRTY" = true ]; then \
LDFLAGS="$$LDFLAGS -X 'github.com/kuadrant/kuadrantctl/version.GitDirty=true'"; \
else \
LDFLAGS="$$LDFLAGS -X 'github.com/kuadrant/kuadrantctl/version.GitDirty=false'"; \
fi; \
GOBIN=$(PROJECT_PATH)/bin $(GO) install -ldflags "$$LDFLAGS";


Expand Down

0 comments on commit b633b72

Please sign in to comment.