Skip to content

Commit

Permalink
Try to place generated files in dist dir directly
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Nov 27, 2018
1 parent a403605 commit 195da64
Showing 1 changed file with 29 additions and 4 deletions.
33 changes: 29 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,43 @@ archive:
builds:
- main: './cmd/geoipupdate'
binary: 'geoipupdate'
goarch:
- 'amd64'
goos:
- 'darwin'
hooks:
post: 'make data BUILDDIR=dist/darwin_amd64'
- main: './cmd/geoipupdate'
binary: 'geoipupdate'
goarch:
- '386'
goos:
- 'linux'
hooks:
post: 'make data BUILDDIR=dist/linux_386'
- main: './cmd/geoipupdate'
binary: 'geoipupdate'
goarch:
- 'amd64'
goos:
- 'linux'
hooks:
pre: 'make clean BUILDDIR=.'
post: 'make data BUILDDIR=.'
post: 'make data BUILDDIR=dist/linux_amd64'
- main: './cmd/geoipupdate'
binary: 'geoipupdate'
goarch:
- '386'
goos:
- 'windows'
hooks:
post: 'make data OS=Windows_NT BUILDDIR=dist/windows_386'
- main: './cmd/geoipupdate'
binary: 'geoipupdate'
goarch:
- 'amd64'
goos:
- 'windows'
hooks:
pre: 'make clean BUILDDIR=.'
post: 'make data OS=Windows_NT BUILDDIR=.'
post: 'make data OS=Windows_NT BUILDDIR=dist/windows_amd64'
checksum:
name_template: 'checksums.txt'

0 comments on commit 195da64

Please sign in to comment.