From 18681c3848a8832371d7af8a5b28b8d23c0f9a64 Mon Sep 17 00:00:00 2001 From: Clockwork Date: Mon, 21 Oct 2019 11:22:18 +0300 Subject: [PATCH] [RC] Travis Fixes --- .travis.yml | 2 +- publish.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7b4f54bc..35ddc410 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,9 +44,9 @@ install: script: - npm run build - bash publish.sh -before_deploy: - export RELEASE_NAME=$(cat release_name) - export RELEASE_DESC=$(cat release_desc) +- export TRAVIS_TAG=$(cat travis_tag) deploy: provider: releases file_glob: true diff --git a/publish.sh b/publish.sh index 828e6e9a..72ffd881 100755 --- a/publish.sh +++ b/publish.sh @@ -20,6 +20,7 @@ if [[ "$TRAVIS_COMMIT_MESSAGE" =~ ^[\ []Test[]\ ].*$ ]]; then echo "v${PACKAGE_VERSION}-rc-${TRAVIS_COMMIT}" > release_name echo "This is a test development Beet build. Not for production use." > release_desc fi +echo $TRAVIS_TAG > travis_tag if [ "$SHOULD_BUILD" = "true" ]; then git remote rm origin git remote add origin https://github.com:${GH_TOKEN}@github.com/bitshares/beet.git > /dev/null 2>&1