From 57075d012ea6f310bb0885812dad72cdfe2bf4bd Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Mon, 3 Dec 2018 18:19:03 -0800 Subject: [PATCH] Trying to fix the publish release build --- .circleci/config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 45ae53382..02a84494b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -140,7 +140,8 @@ jobs: # VERSION=$(./artifacts/ --version) VERSION=$(cat ./artifacts/version) rm ./artifacts/version - VERSION_TAG=${CIRCLE_TAG} + # VERSION_TAG=${CIRCLE_TAG} + VERSION_TAG=$(git describe --exact-match --tags) if [ "$VERSION" == "$VERSION_TAG" ]; then echo "Versions match, publishing to Github" ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/ @@ -175,7 +176,5 @@ workflows: - test-and-build - test-and-build-macos filters: - branches: - ignore: /.*/ tags: only: /^\d+\.\d+\.\d+$/