mirror of
https://github.com/fluencelabs/wasmer
synced 2025-05-01 05:12:14 +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=$(./artifacts/ --version)
|
||||||
VERSION=$(cat ./artifacts/version)
|
VERSION=$(cat ./artifacts/version)
|
||||||
rm ./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
|
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/
|
||||||
@ -175,7 +176,5 @@ workflows:
|
|||||||
- test-and-build
|
- test-and-build
|
||||||
- test-and-build-macos
|
- test-and-build-macos
|
||||||
filters:
|
filters:
|
||||||
branches:
|
|
||||||
ignore: /.*/
|
|
||||||
tags:
|
tags:
|
||||||
only: /^\d+\.\d+\.\d+$/
|
only: /^\d+\.\d+\.\d+$/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user