Skip to content

Commit

Permalink
feat: add -buildid= to ldflags (sigstore#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
2 people authored and mlieberman85 committed May 6, 2022
1 parent 22a72da commit f865048
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 f865048

Please sign in to comment.