Skip to content

Commit

Permalink
fixed goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
netevert committed Jan 10, 2021
1 parent 3a8648f commit d8373ae
Showing 1 changed file with 29 additions and 16 deletions.
45 changes: 29 additions & 16 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,37 @@
# .goreleaser.yml
project_name: dnsmorph
# Build customization
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
# you may remove this if you don't need go generate
- go generate ./...
builds:
- binary: dnsmorph
- env:
- CGO_ENABLED=0
goos:
- windows
- linux
- windows
goarch:
- amd64
- 386
- arm
- arm64
# Archive customization
archive:
format: tar.gz
replacements:
amd64: 64-bit
386: 32-bit
format_overrides:
- goos: windows
format: zip
files:
- data/GeoLite2-City.zip
archives:
-
replacements:
386: 32-bit
amd64: 64-bit
files:
- data/*
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit d8373ae

Please sign in to comment.