Skip to content

Commit

Permalink
release via ci
Browse files Browse the repository at this point in the history
  • Loading branch information
boz committed Aug 16, 2017
1 parent 9084348 commit b39fefa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,10 @@ script: |
if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_GO_VERSION" == "1.8" ]; then
docker login -u "$DOCKERHUB_USERNAME" -p "$DOCKERHUB_PASSWORD" && \
make image-push
fi && \
if [ "${TRAVIS_TAG:0:1}" == "v" -a "$TRAVIS_GO_VERSION" == "1.8" ]; then
docker login -u "$DOCKERHUB_USERNAME" -p "$DOCKERHUB_PASSWORD" && \
DOCKER_TAG="$TRAVIS_TAG" make image-push && \
curl -sL https://git.io/goreleaser | \
GITHUB_TOKEN="$GITHUB_REPO_TOKEN" bash
fi
3 changes: 3 additions & 0 deletions .goreleaser.yml → goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ build:
release:
draft: false

archive:
format: binary

brew:
github:
owner: boz
Expand Down

0 comments on commit b39fefa

Please sign in to comment.