Skip to content

Commit

Permalink
Add .gitignore and .goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gen2brain committed Sep 15, 2019
1 parent 4bd84ba commit 39d34d5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/dist
23 changes: 23 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
project_name: keepalived_exporter

builds:
- binary: "{{ .ProjectName }}"
id: "amd64"
hooks:
post: upx dist/amd64_linux_amd64/keepalived_exporter
goos:
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0

archives:
- id: archive
wrap_in_directory: true
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Arch }}"
files:
- README.md

snapshot:
name_template: "{{ .Tag }}-snapshot"

0 comments on commit 39d34d5

Please sign in to comment.