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

Update .gitlab-ci.yml

parent a816c3bb
No related branches found
No related tags found
2 merge requests!60Revert "Fail a test to be sure it works",!28Update .gitlab-ci.yml
......@@ -19,6 +19,7 @@ stages:
- test
- build
- doc-update
- version_check
build:
stage: build
......@@ -45,6 +46,17 @@ go-test:
- go mod vendor -v
- go test ./... -v
version_check:
stage: version_check
only:
- master
- release
image: $DOCKER_IMAGE
script:
- GITTAG=$(git describe --tags)
- CODEVERS=$(cat utils/version.go | grep "const SEMVER =" | cut -d ' ' -f4 | tr -d '"')
- if [[ $GITTAG != $CODEVERS ]]; then echo "VERSION NUMBER BAD $GITTAG != $CODEVER"; exit -1; fi
# This pipeline job will attempt to have pkg.go.dev update docs for xxdk-wasm.
#
# pkg.go.dev relies on the proxy.golang.org service (go module cache/proxy) to discover versions of
......
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