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

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

GitLab CI version tagging

See merge request !320
parents b9878e95 87ab63af
No related branches found
No related tags found
No related merge requests found
...@@ -83,25 +83,28 @@ build: ...@@ -83,25 +83,28 @@ build:
- GOOS=windows GOARCH=386 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/client.win32 main.go - GOOS=windows GOARCH=386 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/client.win32 main.go
- GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/client.darwin64 main.go - GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -ldflags '-w -s' -o release/client.darwin64 main.go
- release/client.linux64 --version - release/client.linux64 --version
- git remote add origin_tags git@gitlab.com:elixxir/client.git || true
- git tag $(release/client.linux64 -V | grep "Elixxir Client v"| cut -d ' ' -f3) -f
- git push origin_tags -f --tags
artifacts: artifacts:
paths: paths:
- release/ - release/
bindings: #bindings:
stage: build # stage: build
tags: # tags:
- ios # - ios
script: # script:
- GO111MODULE=off go get golang.org/x/mobile/cmd/gomobile # - GO111MODULE=off go get golang.org/x/mobile/cmd/gomobile
- GO111MODULE=off go get gitlab.com/elixxir/client # - GO111MODULE=off go get gitlab.com/elixxir/client
- GO111MODULE=off gomobile bind -target android -androidapi 21 gitlab.com/elixxir/client/bindings # - GO111MODULE=off gomobile bind -target android -androidapi 21 gitlab.com/elixxir/client/bindings
- GO111MODULE=off gomobile bind -target ios gitlab.com/elixxir/client/bindings # - GO111MODULE=off gomobile bind -target ios gitlab.com/elixxir/client/bindings
- zip -r iOS.zip Bindings.framework # - zip -r iOS.zip Bindings.framework
artifacts: # artifacts:
paths: # paths:
- iOS.zip # - iOS.zip
- bindings.aar # - bindings.aar
- bindings-sources.jar # - bindings-sources.jar
trigger_integration: trigger_integration:
stage: trigger_integration stage: trigger_integration
......
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