Skip to content

Commit

Permalink
feat: add -buildid= to ldflags (#1451)
Browse files Browse the repository at this point in the history
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Co-authored-by: Furkan Türkal <furkan.turkal@trendyol.com>

Co-authored-by: Furkan Türkal <furkan.turkal@trendyol.com>
  • Loading branch information
developer-guy and Dentrax committed Feb 11, 2022
1 parent 0e76059 commit f436d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -43,7 +43,7 @@ endif
PLATFORMS=darwin linux windows
ARCHITECTURES=amd64

LDFLAGS=-X sigs.k8s.io/release-utils/version.gitVersion=$(GIT_VERSION) \
LDFLAGS=-buildid= -X sigs.k8s.io/release-utils/version.gitVersion=$(GIT_VERSION) \
-X sigs.k8s.io/release-utils/version.gitCommit=$(GIT_HASH) \
-X sigs.k8s.io/release-utils/version.gitTreeState=$(GIT_TREESTATE) \
-X sigs.k8s.io/release-utils/version.buildDate=$(BUILD_DATE)
Expand Down

0 comments on commit f436d76

Please sign in to comment.