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