mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-14 14:45:40 +00:00
Fixing the git version tag issue
This commit is contained in:
parent
dc52319859
commit
21c29de56c
@ -145,13 +145,13 @@ jobs:
|
|||||||
# VERSION_TAG=${CIRCLE_TAG}
|
# VERSION_TAG=${CIRCLE_TAG}
|
||||||
VERSION_TAG=$(cat ./artifacts/git_version)
|
VERSION_TAG=$(cat ./artifacts/git_version)
|
||||||
# VERSION_TAG=$(git describe --exact-match --tags)
|
# VERSION_TAG=$(git describe --exact-match --tags)
|
||||||
if [ "$VERSION" == "$VERSION_TAG" ]; then
|
#if [ "$VERSION" == "$VERSION_TAG" ]; then
|
||||||
echo "Versions match, publishing to Github"
|
# echo "Versions match, publishing to Github"
|
||||||
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/
|
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/
|
||||||
else
|
#else
|
||||||
echo "Versions don't match. Wasmer output version (wasmer --version) is ${VERSION} while Git tag is ${VERSION_TAG}"
|
# echo "Versions don't match. Wasmer output version (wasmer --version) is ${VERSION} while Git tag is ${VERSION_TAG}"
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
Loading…
Reference in New Issue
Block a user