From 158838c0d70cb31e81fa4808d8234ec8f67fd7d7 Mon Sep 17 00:00:00 2001 From: Luigi Scarso <luigi.scarso@gmail.com> Date: Thu, 22 Nov 2018 09:59:18 +0000 Subject: [PATCH] updated .travis.yml --trunk-- (hmenke) --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4ca1e08ba..e0c7d07a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,6 +64,11 @@ 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 @@ -71,5 +76,7 @@ deploy: file: $package skip_cleanup: true on: - tags: true + branch: trunk + overwrite: true + tags: false condition: $package != "" -- GitLab