mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Trying to fix the publish release build
This commit is contained in:
parent
27ce10e49e
commit
57075d012e
@ -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+$/
|
||||
|
Loading…
Reference in New Issue
Block a user