Skip to content

Commit

Permalink
travis: Add goreleaser deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
nkprince007 committed May 25, 2018
1 parent d5f5b16 commit 23640cf
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Build customization
builds:
- binary: listen
goos:
- windows
- darwin
- linux
goarch:
- amd64

# Archive customization
archive:
format: tar.gz
replacements:
amd64: 64-bit
darwin: macOS
linux: Tux
files:
- LICENSE
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,11 @@ before_script:

script:
- go test -v ./...

deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
condition: $TRAVIS_OS_NAME = linux
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ Build the docker-compose network
docker-compose up -d
```

## Releases

The binaries built are delivered via [TravisCI](https://travis-ci.com) using
[goreleaser](https://goreleaser.com). Latest releases are available
[here](https://github.com/nkprince007/listen/releases).

## Images / Container Registry

For released images, please visit the GitLab Container Registy for this
Expand Down

0 comments on commit 23640cf

Please sign in to comment.