diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 85dbdc9154caf9ffc1eefbc4f7cf1214793a9d54..735f514b18ba9826c010cba8888278db6057295e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -154,7 +154,7 @@ doc-update: image: $DOCKER_IMAGE script: # GOPRIVATE is cleared so that the public cache is pulled instead of directly pulling client. - - GOOS=js GOARCH=wasm GOPRIVATE="" go install gitlab.com/elixxir/xxdk-wasm@$CI_COMMIT_SHA + - NEXT_WAIT_TIME=0; until [ $NEXT_WAIT_TIME -eq 15 ] || GOOS=js GOARCH=wasm GOPRIVATE="" go install gitlab.com/elixxir/xxdk-wasm@$CI_COMMIT_SHA; do sleep 60; (( NEXT_WAIT_TIME+=1 )); done; [ $NEXT_WAIT_TIME -lt 15 ] only: - release - master @@ -169,4 +169,4 @@ version-check: script: - GITTAG=$(git describe --tags) - CODEVERS=$(cat storage/version.go | grep "const SEMVER =" | cut -d ' ' -f4 | tr -d '"') - - if [[ $GITTAG != $CODEVERS ]]; then echo "VERSION NUMBER BAD $GITTAG != $CODEVERS"; exit -1; fi \ No newline at end of file + - if [[ $GITTAG != $CODEVERS ]]; then echo "VERSION NUMBER BAD $GITTAG != $CODEVERS"; exit -1; fi