Skip to content

Commit

Permalink
add goreleaser to weaver project
Browse files Browse the repository at this point in the history
  • Loading branch information
rShetty committed Feb 4, 2019
1 parent 3f50c42 commit 44887d2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,13 @@ install:

script:
- make

deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash -s -- --rm-dist --skip-validate
on:
tags: true

notifications:
email: false
16 changes: 16 additions & 0 deletions goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
builds:
- main: ./cmd/weaver-server/
goos:
- linux
- darwin
- windows
goarch:
- amd64
- 386

archive:
replacements:
amd64: 64-bit
386: 32-bit
darwin: macOS
format: zip

0 comments on commit 44887d2

Please sign in to comment.