add automatic releases on tags
This commit is contained in:
parent
34f54e9c25
commit
a2af0344b5
1 changed files with 8 additions and 2 deletions
10
.travis.yml
10
.travis.yml
|
@ -6,7 +6,6 @@ cache: apt
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- wget
|
|
||||||
- tree
|
- tree
|
||||||
- latexmk
|
- latexmk
|
||||||
- biber
|
- biber
|
||||||
|
@ -16,8 +15,9 @@ install:
|
||||||
- pip install GitPython
|
- pip install GitPython
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make build
|
- python3 -c 'from build import build; build("build/LatexPackages/")'
|
||||||
- cd build
|
- cd build
|
||||||
|
- zip -r LatexPackages.zip LatexPackages
|
||||||
- tree -H '.' -I "index.html" -D --charset utf-8 -T "LatexPackages" > index.html
|
- tree -H '.' -I "index.html" -D --charset utf-8 -T "LatexPackages" > index.html
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -28,3 +28,9 @@ deploy:
|
||||||
keep-history: false
|
keep-history: false
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
|
- provider: releases
|
||||||
|
api_key: $GITHUB_TOKEN
|
||||||
|
skip_cleanup: true
|
||||||
|
file: $TRAVIS_BUILD_DIR/build/LatexPackages.zip
|
||||||
|
on:
|
||||||
|
tags: true
|
||||||
|
|
Loading…
Reference in a new issue