Skip to content

Commit

Permalink
Release v0.2.0, with darwin+linux amd64 binaries in github
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Kieltyka committed Dec 8, 2015
1 parent 9eeba3f commit 1a46f38
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ help:
@echo "install: Install binary."
@echo "clean: Clean up."

build: build_pkgs
build:
@mkdir -p ./bin
@rm -f ./bin/*
go build -o ./bin/sup ./cmd/sup

build_pkgs:
go build ./...
dist:
@mkdir -p ./bin
@rm -f ./bin/*
GOOS=darwin GOARCH=amd64 go build -o ./bin/sup-darwin64 ./cmd/sup
GOOS=linux GOARCH=amd64 go build -o ./bin/sup-linux64 ./cmd/sup

test:
go test
Expand Down
2 changes: 1 addition & 1 deletion cmd/sup/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func main() {
flag.Parse()

if *showVersionShort || *showVersionLong {
fmt.Println("0.2")
fmt.Println(sup.VERSION)
return
}

Expand Down
2 changes: 2 additions & 0 deletions sup.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import (
"golang.org/x/crypto/ssh"
)

const VERSION = "0.2.0"

type Stackup struct {
conf *Supfile
}
Expand Down

0 comments on commit 1a46f38

Please sign in to comment.