Skip to content

Commit

Permalink
Merge pull request #4 from jcchavezs/attempt_to_fix_publishing
Browse files Browse the repository at this point in the history
chore: fixes releasing.
  • Loading branch information
jcchavezs committed Feb 6, 2020
2 parents 6333b6b + 87109c0 commit ec13d0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ after_success:

deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
cleanup: false
script: GITHUB_TOKEN=${GITHUB_TOKEN} make release
on:
tags: true
condition: $PUBLISH = "true"
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@ clean:
@-rm httpmole
@-rm -rf dist

release:
@echo "Make sure you are logged in dockerhub"
GITHUB_TOKEN=$(GITHUB_TOKEN) goreleaser release --rm-dist

release.dryrun:
goreleaser release --skip-publish --snapshot --rm-dist

0 comments on commit ec13d0a

Please sign in to comment.