File tree Expand file tree Collapse file tree 4 files changed +37
-9
lines changed
Expand file tree Collapse file tree 4 files changed +37
-9
lines changed Original file line number Diff line number Diff line change 11.idea
22* .iml
33/hetzner-kube *
4+ /dist
5+
46
57/cmd /test.go
Original file line number Diff line number Diff line change @@ -15,20 +15,22 @@ This is my very first tool written in Go.
1515
1616Get the Linux binary from releases page.
1717
18- [ Download version 0.3 - linux-amd64] ( https://github.com/xetys/hetzner-kube/releases/download/0.3/hetzner-kube )
18+ [ Download version 0.3.1 - linux-amd64] ( https://github.com/xetys/hetzner-kube/releases/download/0.3.1 /hetzner-kube-amd64 )
1919
20- [ Download version 0.3 - linux-386] ( https://github.com/xetys/hetzner-kube/releases/download/0.3/hetzner-kube-linux-386 )
20+ [ Download version 0.3.1 - linux-386] ( https://github.com/xetys/hetzner-kube/releases/download/0.3.1 /hetzner-kube-linux-386 )
2121
22- [ Download version 0.3 - linux-arm] ( https://github.com/xetys/hetzner-kube/releases/download/0.3/hetzner-kube-linux-arm )
22+ [ Download version 0.3.1 - linux-arm] ( https://github.com/xetys/hetzner-kube/releases/download/0.3.1 /hetzner-kube-linux-arm )
2323
24- [ Download version 0.3 - linux-arm64] ( https://github.com/xetys/hetzner-kube/releases/download/0.3/hetzner-kube-linux-arm64 )
24+ [ Download version 0.3.1 - linux-arm64] ( https://github.com/xetys/hetzner-kube/releases/download/0.3.1 /hetzner-kube-linux-arm64 )
2525
26- ### experimental binaries (not tested yet)
27- [ Download version 0.3 - darwin-386] ( https://github.com/xetys/hetzner-kube/releases/download/0.3/hetzner-kube-darwin-386 )
26+ ### experimental binaries (partly tested yet)
27+ [ Download version 0.3.1 - darwin-386] ( https://github.com/xetys/hetzner-kube/releases/download/0.3.1 /hetzner-kube-darwin-386 )
2828
29- [ Download version 0.3 - darwin-amd64] ( https://github.com/xetys/hetzner-kube/releases/download/0.3/hetzner-kube-darwin-amd64 )
29+ [ Download version 0.3.1 - darwin-amd64] ( https://github.com/xetys/hetzner-kube/releases/download/0.3.1 /hetzner-kube-darwin-amd64 )
3030
31- [ Download version 0.3 - Windows(64Bit)] ( https://github.com/xetys/hetzner-kube/releases/download/0.3/hetzner-kube-win64 )
31+ [ Download version 0.3.1 - Windows(32Bit)] ( https://github.com/xetys/hetzner-kube/releases/download/0.3.1/hetzner-kube-windows-386.exe )
32+
33+ [ Download version 0.3.1 - Windows(64Bit)] ( https://github.com/xetys/hetzner-kube/releases/download/0.3.1/hetzner-kube-windows-386.exe )
3234
3335### From source
3436
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -ev
4+
5+ go build
6+ VERSION=$( ./hetzner-kube version)
7+
8+ mkdir -p dist/${VERSION}
9+
10+ # GOOS=target-OS GOARCH=target-architecture go build -o
11+
12+ # linux
13+ GOOS=linux GOARCH=amd64 go build -o dist/${VERSION} /hetzner-kube-linux-amd64
14+ GOOS=linux GOARCH=386 go build -o dist/${VERSION} /hetzner-kube-linux-386
15+ GOOS=linux GOARCH=arm go build -o dist/${VERSION} /hetzner-kube-linux-arm
16+ GOOS=linux GOARCH=arm64 go build -o dist/${VERSION} /hetzner-kube-linux-arm64
17+
18+ # mac
19+ GOOS=darwin GOARCH=amd64 go build -o dist/${VERSION} /hetzner-kube-darwin-amd64
20+ GOOS=darwin GOARCH=386 go build -o dist/${VERSION} /hetzner-kube-darwin-386
21+
22+ # windows
23+ GOOS=windows GOARCH=amd64 go build -o dist/${VERSION} /hetzner-kube-windows-amd64.exe
24+ GOOS=windows GOARCH=386 go build -o dist/${VERSION} /hetzner-kube-windows-386.exe
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
2222
2323// Version The current version of hetzner-kube.
2424// the '-SNAPSHOT' suffix signals the current version is not a released version, and most likely built from source
25- const Version = "0.3.1 -SNAPSHOT"
25+ const Version = "0.3.2 -SNAPSHOT"
2626
2727// versionCmd represents the version command
2828var versionCmd = & cobra.Command {
You can’t perform that action at this time.
0 commit comments