diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..87a6c64 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,15 @@ +builds: + - main: ./cmd/gk + binary: gk + ldflags: -s -w -X github.com/imorph/gate-keeper/pkg/version.REVISION={{.Commit}} + goos: + - darwin + - linux + goarch: + - amd64 + env: + - CGO_ENABLED=0 +archives: + - name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + files: + - none* \ No newline at end of file diff --git a/pkg/version/version.go b/pkg/version/version.go index 1512e5c..8a5fcff 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -1,7 +1,7 @@ package version var APPNAME = "unknown" -var VERSION = "v0.0.1" +var VERSION = "v0.0.2" var REVISION = "unknown"