Update travis

Former-commit-id: 93f60c0312746da71dd73f92242c3ae601fa096d [formerly 67602cb7d8686c85705c9c1ad46db4ed9d3901a9] [formerly 5b08a02e178cb944036f295715c66d482accb25f [formerly 42521f721c]]
Former-commit-id: b41fedfc4f4cfaa62161289920614a6452ec94fe [formerly 6b72536a8fdd4362d0d0d969797cc631807f3a06]
Former-commit-id: c3407b6c856db3a13e3033735c7bebc3db2c2d19
This commit is contained in:
Henrique Dias 2017-07-26 09:05:41 +01:00
parent 106cec6851
commit 3263f85638
1 changed files with 9 additions and 0 deletions

View File

@ -27,3 +27,12 @@ after_script:
- gox -output "dist/{{.OS}}-{{.Arch}}-{{.Dir}}" - gox -output "dist/{{.OS}}-{{.Arch}}-{{.Dir}}"
- ls dist/ - ls dist/
- ghr --username hacdias --token $GITHUB_TOKEN --replace --prerelease --debug latest dist/ - ghr --username hacdias --token $GITHUB_TOKEN --replace --prerelease --debug latest dist/
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: dist/*
skip_cleanup: true
on:
tags: true