Skip to content

Commit

Permalink
Add goreleaser configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
verb committed Sep 18, 2019
1 parent e43a10c commit 209eb5f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
kubectl-debug
dist

# Emacs save files
*~
Expand Down
27 changes: 27 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
project_name: kubectl-debug
release:
github:
owner: verb
name: kubectl-debug
builds:
- id: kubectl-debug
goos:
- linux
- windows
- darwin
goarch:
- amd64
- "386"
env:
- CGO_ENABLED=0
- GO111MODULE=on
main: cmd/kubectl-debug.go
ldflags: -s -w
archives:
- id: kubectl-debug
builds:
- kubectl-debug
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip

0 comments on commit 209eb5f

Please sign in to comment.