File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,9 +33,8 @@ builds:
3333 ldflags :
3434 - -s -w
3535 - -X github.com/DataDog/pup/internal/version.Version={{.Version}}
36- - -X github.com/DataDog/pup/internal/version.Commit={{.Commit}}
37- - -X github.com/DataDog/pup/internal/version.Date={{.Date}}
38- - -X github.com/DataDog/pup/internal/version.BuiltBy=goreleaser
36+ - -X github.com/DataDog/pup/internal/version.GitCommit={{.Commit}}
37+ - -X github.com/DataDog/pup/internal/version.BuildDate={{.Date}}
3938
4039archives :
4140 - id : pup
Original file line number Diff line number Diff line change @@ -17,9 +17,8 @@ DATE := $(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
1717# Build flags
1818LDFLAGS := -s -w \
1919 -X github.com/DataDog/pup/internal/version.Version=$(VERSION ) \
20- -X github.com/DataDog/pup/internal/version.Commit=$(COMMIT ) \
21- -X github.com/DataDog/pup/internal/version.Date=$(DATE ) \
22- -X github.com/DataDog/pup/internal/version.BuiltBy=makefile
20+ -X github.com/DataDog/pup/internal/version.GitCommit=$(COMMIT ) \
21+ -X github.com/DataDog/pup/internal/version.BuildDate=$(DATE )
2322
2423# Go build flags
2524GO_BUILD_FLAGS := -trimpath -ldflags "$(LDFLAGS ) "
You can’t perform that action at this time.
0 commit comments