Skip to content

Commit

Permalink
fixing issues with goreleaser file
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark DeNeve authored and Mark DeNeve committed Dec 14, 2018
1 parent da7fdbd commit db90d39
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
# .goreleaser.yml
# Build customization
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
builds:
- main: ecs_exporter.go
binary: prometheus-emcecs-exporter
goos:
# This would probably work on windows and osx, but I have never tested it
# so I am not going to build the windows binaries unless someone opens a bug request
# - windows
# - darwin
- env:
- CGO_ENABLED=0
- builds:
- linux
goarch:
- goarch:
- amd64
- arm64
# Archive customization
archive:
format: tar.gz
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

0 comments on commit db90d39

Please sign in to comment.