From 8ea1eb0ebdcda30ca3ee050344024a639825bb0c Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Mon, 5 Dec 2016 02:58:01 +0100 Subject: [PATCH] Enhanced Travis Nightly Release Instead of publishing a new release with an "untagged" name on every Travis build, this configuration will deploy all these nightlies to a special Nightly release tag. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 78debcf03..0e445a262 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,6 +42,9 @@ before_deploy: - echo "deploying ${DEPLOYED_FILE} to GitHub releases" - sudo chown travis ${DEPLOYED_FILE} +# If no tag is set, deploy as nightly +- if [ !${TRAVIS_TAG} ] ; then export TRAVIS_TAG=Nightly ; fi + deploy: provider: releases api_key: -- 2.40.0