Skip to content
Snippets Groups Projects
Commit 29155080 authored by Jake Taylor's avatar Jake Taylor :lips:
Browse files

Merge branch 'XX-1807/Version-Tagging' into 'release'

GitLab CI version tagging

Closes XX-1807

See merge request elixxir/user-discovery-bot!77
parents 222716ba e2a0c928
No related branches found
No related tags found
1 merge request!4WIP: XX-1880 "/udbracecondition"
...@@ -80,6 +80,10 @@ build: ...@@ -80,6 +80,10 @@ build:
- GOOS=windows GOARCH=386 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/udb.win32 main.go - GOOS=windows GOARCH=386 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/udb.win32 main.go
- GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/udb.darwin64 main.go - GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/udb.darwin64 main.go
- ./release/udb.linux64 --version - ./release/udb.linux64 --version
- git remote add origin_tags git@gitlab.com:elixxir/user-discovery-bot.git || true
- git remote set-url origin_tags git@gitlab.com:elixxir/user-discovery-bot.git || true
- git tag $(./release/udb.linux64 --version | grep "Elixxir User Discovery Bot v"| cut -d ' ' -f5) -f
- git push origin_tags -f --tags
artifacts: artifacts:
paths: paths:
- release/ - release/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment