Skip to content
Snippets Groups Projects
Commit d3085e7c authored by Sydney Anne Erickson's avatar Sydney Anne Erickson :chipmunk:
Browse files

Version check job doesn't work in this repo, removed it.

parent c460b278
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,6 @@ stages:
- combine-artifacts
- tag
- doc-update
- version-check
go-test:
stage: test
......@@ -138,16 +137,4 @@ doc-update:
- 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
version-check:
stage: version-check
except:
- tags
only:
- master
image: $DOCKER_IMAGE
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
- master
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment