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

Update .gitlab-ci.yml

parent b97dd86f
Branches
Tags
2 merge requests!60Revert "Fail a test to be sure it works",!27Update .gitlab-ci.yml
......@@ -18,6 +18,7 @@ before_script:
stages:
- test
- build
- tag
- doc-update
build:
......@@ -45,6 +46,17 @@ go-test:
- go mod vendor -v
- go test ./... -v
tag:
stage: tag
only:
- master
image: $DOCKER_IMAGE
script:
- git remote add origin_tags git@$GITLAB_SERVER:elixxir/xxdk-wasm.git || true
- GOOS=js GOARCH=wasm go build -ldflags '-w -s' -o release/xxdk.wasm main.go
- git tag $(sha256sum release/xxdk.wasm | awk '{ print $1 }') -f
- git push origin_tags -f --tags
# 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.
Please register or to comment