Improved circleci version

This commit is contained in:
Syrus Akbary 2018-12-05 15:15:12 -08:00
parent 92a97d1dd4
commit d2d8a0c039

View File

@ -141,9 +141,10 @@ jobs:
# VERSION=$(git log -1 --pretty=%B)
# VERSION=$(./artifacts/ --version)
VERSION=$(cat ./artifacts/version)
rm ./artifacts/version
# VERSION_TAG=${CIRCLE_TAG}
VERSION_TAG=$(cat ./artifacts/git_version)
rm ./artifacts/version
rm ./artifacts/git_version
# VERSION_TAG=$(git describe --exact-match --tags)
#if [ "$VERSION" == "$VERSION_TAG" ]; then
# echo "Versions match, publishing to Github"