Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
updated .travis.yml --trunk-- (hmenke)
Browse files Browse the repository at this point in the history
git-svn-id: https://serveur-svn.lri.fr/svn/modhel/luatex/trunk@7005 0b2b3880-5936-4365-a048-eb17d2e5a6bf
  • Loading branch information
luigiScarso committed Nov 22, 2018
1 parent d8adcc8 commit cb0c27a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,19 @@ matrix:

before_deploy:
- if [ -n "$package" ]; then tar czvf ${package} -C build/texk/web2c luajittex luatex ; fi
- export LUATEX_VERSION=`grep luatex_version_string source/texk/web2c/luatexdir/luatex.c | cut -d '"' -f 2`
- export LUATEX_SVN_REVISION=`grep -Eo "[0-9]+" source/texk/web2c/luatexdir/luatex_svnversion.h`
- git config --local user.name "Travis CI"
- git config --local user.email "https://travis-ci.org/"
- git tag "${LUATEX_VERSION}-svn${LUATEX_SVN_REVISION}"

deploy:
provider: releases
api_key: $GH_TOKEN
file: $package
skip_cleanup: true
on:
tags: true
branch: trunk
overwrite: true
tags: false
condition: $package != ""

0 comments on commit cb0c27a

Please sign in to comment.