Skip to content

Commit

Permalink
Adding in a binary build process.
Browse files Browse the repository at this point in the history
This should start building and publishing the binaries to git.
  • Loading branch information
Mark DeNeve authored and Mark DeNeve committed Dec 14, 2018
1 parent e4b9201 commit da7fdbd
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 6 deletions.
17 changes: 17 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# .goreleaser.yml
# Build customization
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
- linux
goarch:
- amd64
- arm64
# Archive customization
archive:
format: tar.gz
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ install:

script:
- make

after_success:
- test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
70 changes: 64 additions & 6 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit da7fdbd

Please sign in to comment.