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

Update .gitlab-ci.yml

parent 253adedc
No related branches found
No related tags found
No related merge requests found
...@@ -61,18 +61,6 @@ go-test: ...@@ -61,18 +61,6 @@ go-test:
- go mod vendor -v - go mod vendor -v
- go test ./... -v - go test ./... -v
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
tag: tag:
stage: build stage: build
except: except:
......
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