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
No related branches found
No related tags found
2 merge requests!60Revert "Fail a test to be sure it works",!27Update .gitlab-ci.yml
...@@ -18,6 +18,7 @@ before_script: ...@@ -18,6 +18,7 @@ before_script:
stages: stages:
- test - test
- build - build
- tag
- doc-update - doc-update
build: build:
...@@ -45,6 +46,17 @@ go-test: ...@@ -45,6 +46,17 @@ go-test:
- go mod vendor -v - go mod vendor -v
- go test ./... -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. # 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 # 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