File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ test-docker:
77
77
docker run --rm -v " ${GOPATH} " :/go -w /go/src/creativeprojects/resticprofile golang:${GO_VERSION} $(GOTEST ) -v $(TESTS )
78
78
79
79
build-docker : clean
80
- CGO_ENABLED=0 GOARCH=amd64 GOOS=linux $(GOBUILD ) -v -o ${BUILD} $(BINARY ) .
80
+ CGO_ENABLED=0 GOARCH=amd64 GOOS=linux $(GOBUILD ) -v -ldflags " -X 'main.commit= ${BUILD_COMMIT} ' -X 'main.date= ${BUILD_DATE} ' -X 'main.builtBy=make' " - o ${BUILD} $(BINARY ) .
81
81
curl -LO https://github.com/restic/restic/releases/download/v${RESTIC_VERSION} /restic_${RESTIC_VERSION} _linux_amd64.bz2
82
82
bunzip2 restic_${RESTIC_VERSION} _linux_amd64.bz2
83
83
mv restic_${RESTIC_VERSION} _linux_amd64 ${BUILD} restic
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import (
21
21
22
22
// These fields are populated by the goreleaser build
23
23
var (
24
- version = "0.7.2-dev "
24
+ version = "0.8.0 "
25
25
commit = ""
26
26
date = ""
27
27
builtBy = ""
You can’t perform that action at this time.
0 commit comments