Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Commit

Permalink
fix release build
Browse files Browse the repository at this point in the history
  • Loading branch information
grs committed Sep 18, 2019
1 parent f803984 commit 541fa44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 541fa44

Please sign in to comment.