Skip to content

Commit

Permalink
Create .goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rajatjindal authored Jan 5, 2020
1 parent bc0776d commit d47f93e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
builds:
- id: kubectl-whoami
main: ./
binary: kubectl-whoami
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
goarch:
- amd64

archives:
- builds:
- gh-action
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
wrap_in_directory: false
format: tar.gz
files:
- LICENSE

0 comments on commit d47f93e

Please sign in to comment.