mirror of
https://github.com/Maschell/StreamingPluginClient.git
synced 2024-12-01 00:44:16 +01:00
Well..
This commit is contained in:
parent
c1dc93b882
commit
06a6c9e063
@ -33,9 +33,11 @@ jobs:
|
||||
- run:
|
||||
command: |
|
||||
mvn dependency:go-offline
|
||||
sudo add-apt-repository ppa:gophers/archive
|
||||
sudo apt-get update
|
||||
sudo apt-get install golang-1.10-go
|
||||
sudo apt-get -y upgrade
|
||||
wget https://dl.google.com/go/go1.10.linux-amd64.tar.gz
|
||||
sudo tar -xvf go1.10.linux-amd64.tar.gz
|
||||
sudo mv go /usr/local
|
||||
|
||||
- save_cache:
|
||||
paths:
|
||||
@ -47,8 +49,10 @@ jobs:
|
||||
- deploy:
|
||||
name: Deploy
|
||||
command: |
|
||||
mkdir ~/go
|
||||
mkdir ~/go
|
||||
export GOPATH=~/go
|
||||
export GOROOT=/usr/local/go
|
||||
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
|
||||
go get github.com/tcnksm/ghr
|
||||
ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME -prerelease -b 'Nightly release - Use caution!' `echo "v0.0.1-nightly-$(git rev-parse --short=7 HEAD)"` ci/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user