Skip to content

Commit

Permalink
add .goreleaser.yml (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
zabio3 committed Jul 6, 2022
1 parent 6e75b2f commit d9c4fc9
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@
bin/
vendor/
godolint
dist/
.goreleaser.yml
dist/
31 changes: 31 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
project_name: godolint
release:
github:
owner: zabio3
name: godolint
name_template: '{{.Tag}}'
builds:
- goos:
- linux
- darwin
- windows
goarch:
- amd64
goarm:
- "6"
main: .
ldflags: -s -w -X main.Version={{.Version}} -X main.BuildDate={{.Date}}
binary: godolint
archive:
format: tar.gz
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*

0 comments on commit d9c4fc9

Please sign in to comment.