diff --git a/Makefile b/Makefile index e60a3c5..6d6c4cb 100644 --- a/Makefile +++ b/Makefile @@ -17,16 +17,16 @@ release/linux.tgz: release/linux/skupper tar -czf release/linux.tgz -C release/linux/ skupper release/linux/skupper: cmd/skupper.go - GOOS=linux GOARCH=amd64 go build -o release/linux/skupper cmd/skupper.go + GOOS=linux GOARCH=amd64 go build -ldflags="-X main.version=${VERSION}" -o release/linux/skupper cmd/skupper.go release/windows/skupper: cmd/skupper.go - GOOS=windows GOARCH=amd64 go build -o release/windows/skupper cmd/skupper.go + GOOS=windows GOARCH=amd64 go build -ldflags="-X main.version=${VERSION}" -o release/windows/skupper cmd/skupper.go release/windows.zip: release/windows/skupper zip -j release/windows.zip release/windows/skupper release/darwin/skupper: cmd/skupper.go - GOOS=darwin GOARCH=amd64 go build -o release/darwin/skupper cmd/skupper.go + GOOS=darwin GOARCH=amd64 go build -ldflags="-X main.version=${VERSION}" -o release/darwin/skupper cmd/skupper.go release/darwin.zip: release/darwin/skupper zip -j release/darwin.zip release/darwin/skupper