Skip to content

Commit

Permalink
Don't publish release if github keys aren't set (#364)
Browse files Browse the repository at this point in the history
Co-authored-by: Will <[email protected]>
  • Loading branch information
denverwilliams and williscool authored Aug 19, 2020
1 parent 673c872 commit ffa67f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,9 @@ jobs:
- crystal spec -v || travis_terminate 1;
- docker pull crystallang/crystal:0.35.1-alpine
- docker run --rm -it -v $PWD:/workspace -w /workspace crystallang/crystal:0.35.1-alpine crystal build src/cnf-conformance.cr --release --static --link-flags "-lxml2 -llzma"
- ./cnf-conformance upsert_release
- |
if [ -z "${GITHUB_USER+x}" ] || [ -z "${GITHUB_TOKEN+x}" ]; then
exit 0
else
./cnf-conformance upsert_release
fi

0 comments on commit ffa67f9

Please sign in to comment.