Update travis

pull/160/head
Henrique Dias 2017-07-26 09:05:41 +01:00
parent 6bd72f1f26
commit 42521f721c
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
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