Skip to content

Commit

Permalink
ADD: goreleaser configuration and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Goncharov committed Nov 13, 2019
1 parent 56f4e55 commit 1c30a47
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -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*
2 changes: 1 addition & 1 deletion pkg/version/version.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package version

var APPNAME = "unknown"
var VERSION = "v0.0.1"
var VERSION = "v0.0.2"

var REVISION = "unknown"

Expand Down

0 comments on commit 1c30a47

Please sign in to comment.