File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 44builds :
55 -
66 binary : s5cmd
7- ldflags : -s -w -X github.com/peak/s5cmd/version.Version={{.Tag}} -X github.com/peak/s5cmd/version.GitCommit={{ .ShortCommit }}
7+ ldflags : -s -w -X github.com/peak/s5cmd/v2/ version.Version={{.Tag}} -X github.com/peak/s5cmd/v2 /version.GitCommit={{ .ShortCommit }}
88 env :
99 - CGO_ENABLED=0
1010 goos :
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ all: clean build test check
55
66VERSION := ` git describe --abbrev=0 --tags || echo " 0.0.0" `
77BUILD := ` git rev-parse --short HEAD `
8- LDFLAGS =-ldflags "-X=github.com/peak/s5cmd/version.Version=$(VERSION ) -X=github.com/peak/s5cmd/version.GitCommit=$(BUILD ) "
8+ LDFLAGS =-ldflags "-X=github.com/peak/s5cmd/v2/ version.Version=$(VERSION ) -X=github.com/peak/s5cmd/v2 /version.GitCommit=$(BUILD ) "
99
1010.PHONY : build
1111build :
You can’t perform that action at this time.
0 commit comments