From a2af0344b5ad4bf27412fb69cde9b5c82c6f5b16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Thu, 7 Oct 2021 21:47:54 +0200 Subject: [PATCH] add automatic releases on tags --- .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 10ba5e6..306ce29 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ cache: apt addons: apt: packages: - - wget - tree - latexmk - biber @@ -16,8 +15,9 @@ install: - pip install GitPython script: - - make build + - python3 -c 'from build import build; build("build/LatexPackages/")' - cd build + - zip -r LatexPackages.zip LatexPackages - tree -H '.' -I "index.html" -D --charset utf-8 -T "LatexPackages" > index.html deploy: @@ -28,3 +28,9 @@ deploy: keep-history: false on: branch: master + - provider: releases + api_key: $GITHUB_TOKEN + skip_cleanup: true + file: $TRAVIS_BUILD_DIR/build/LatexPackages.zip + on: + tags: true