Skip to content

Commit

Permalink
release 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xetys committed Jun 29, 2018
1 parent cc720b8 commit d1872f2
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.idea
*.iml
/hetzner-kube*
/dist


/cmd/test.go
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,22 @@ This is my very first tool written in Go.

Get the Linux binary from releases page.

[Download version 0.3 - linux-amd64](https://github.com/xetys/hetzner-kube/releases/download/0.3/hetzner-kube)
[Download version 0.3.1 - linux-amd64](https://github.com/xetys/hetzner-kube/releases/download/0.3.1/hetzner-kube-amd64)

[Download version 0.3 - linux-386](https://github.com/xetys/hetzner-kube/releases/download/0.3/hetzner-kube-linux-386)
[Download version 0.3.1 - linux-386](https://github.com/xetys/hetzner-kube/releases/download/0.3.1/hetzner-kube-linux-386)

[Download version 0.3 - linux-arm](https://github.com/xetys/hetzner-kube/releases/download/0.3/hetzner-kube-linux-arm)
[Download version 0.3.1 - linux-arm](https://github.com/xetys/hetzner-kube/releases/download/0.3.1/hetzner-kube-linux-arm)

[Download version 0.3 - linux-arm64](https://github.com/xetys/hetzner-kube/releases/download/0.3/hetzner-kube-linux-arm64)
[Download version 0.3.1 - linux-arm64](https://github.com/xetys/hetzner-kube/releases/download/0.3.1/hetzner-kube-linux-arm64)

### experimental binaries (not tested yet)
[Download version 0.3 - darwin-386](https://github.com/xetys/hetzner-kube/releases/download/0.3/hetzner-kube-darwin-386)
### experimental binaries (partly tested yet)
[Download version 0.3.1 - darwin-386](https://github.com/xetys/hetzner-kube/releases/download/0.3.1/hetzner-kube-darwin-386)

[Download version 0.3 - darwin-amd64](https://github.com/xetys/hetzner-kube/releases/download/0.3/hetzner-kube-darwin-amd64)
[Download version 0.3.1 - darwin-amd64](https://github.com/xetys/hetzner-kube/releases/download/0.3.1/hetzner-kube-darwin-amd64)

[Download version 0.3 - Windows(64Bit)](https://github.com/xetys/hetzner-kube/releases/download/0.3/hetzner-kube-win64)
[Download version 0.3.1 - Windows(32Bit)](https://github.com/xetys/hetzner-kube/releases/download/0.3.1/hetzner-kube-windows-386.exe)

[Download version 0.3.1 - Windows(64Bit)](https://github.com/xetys/hetzner-kube/releases/download/0.3.1/hetzner-kube-windows-386.exe)

### From source

Expand Down
24 changes: 24 additions & 0 deletions build-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env bash

set -ev

go build
VERSION=$(./hetzner-kube version)

mkdir -p dist/${VERSION}

#GOOS=target-OS GOARCH=target-architecture go build -o

# linux
GOOS=linux GOARCH=amd64 go build -o dist/${VERSION}/hetzner-kube-linux-amd64
GOOS=linux GOARCH=386 go build -o dist/${VERSION}/hetzner-kube-linux-386
GOOS=linux GOARCH=arm go build -o dist/${VERSION}/hetzner-kube-linux-arm
GOOS=linux GOARCH=arm64 go build -o dist/${VERSION}/hetzner-kube-linux-arm64

# mac
GOOS=darwin GOARCH=amd64 go build -o dist/${VERSION}/hetzner-kube-darwin-amd64
GOOS=darwin GOARCH=386 go build -o dist/${VERSION}/hetzner-kube-darwin-386

# windows
GOOS=windows GOARCH=amd64 go build -o dist/${VERSION}/hetzner-kube-windows-amd64.exe
GOOS=windows GOARCH=386 go build -o dist/${VERSION}/hetzner-kube-windows-386.exe
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

// Version The current version of hetzner-kube.
// the '-SNAPSHOT' suffix signals the current version is not a released version, and most likely built from source
const Version = "0.3.1-SNAPSHOT"
const Version = "0.3.2-SNAPSHOT"

// versionCmd represents the version command
var versionCmd = &cobra.Command{
Expand Down

0 comments on commit d1872f2

Please sign in to comment.