drone reset to go get no mod support
This commit is contained in:
parent
4cabff44f1
commit
ccf497c840
|
@ -18,10 +18,7 @@ pipeline:
|
||||||
- export GOPATH=$GOPATH:/media/sf_GOPATH1/
|
- export GOPATH=$GOPATH:/media/sf_GOPATH1/
|
||||||
- export PATH=$PATH:/home/user/work/bin:/media/sf_GOPATH1/bin
|
- export PATH=$PATH:/home/user/work/bin:/media/sf_GOPATH1/bin
|
||||||
- apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git openssh-client
|
- apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git openssh-client
|
||||||
- export GO111MODULE=on
|
- go get -d
|
||||||
- go mod vendor
|
|
||||||
- rm -rf vendor/github.com/therecipe
|
|
||||||
- export GO111MODULE=off
|
|
||||||
- $QT_DIR/$QT_API/gcc_64/bin/lrelease ui.pro
|
- $QT_DIR/$QT_API/gcc_64/bin/lrelease ui.pro
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
- export VERSION=`git describe --tags`
|
- export VERSION=`git describe --tags`
|
||||||
|
@ -52,7 +49,6 @@ pipeline:
|
||||||
- apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git
|
- apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git
|
||||||
- find -iname 'moc*' | xargs rm
|
- find -iname 'moc*' | xargs rm
|
||||||
- find -iname 'rcc*' | xargs rm
|
- find -iname 'rcc*' | xargs rm
|
||||||
- export GO111MODULE=on
|
|
||||||
- go get -d
|
- go get -d
|
||||||
- export VERSION=`git describe --tags`
|
- export VERSION=`git describe --tags`
|
||||||
- export BUILDDATE=`date +%G-%m-%d-%H-%M`
|
- export BUILDDATE=`date +%G-%m-%d-%H-%M`
|
||||||
|
@ -78,7 +74,6 @@ pipeline:
|
||||||
- apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git zip
|
- apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git zip
|
||||||
- find -iname 'moc*' | xargs rm
|
- find -iname 'moc*' | xargs rm
|
||||||
- find -iname 'rcc*' | xargs rm
|
- find -iname 'rcc*' | xargs rm
|
||||||
- export GO111MODULE=on
|
|
||||||
- go get -d
|
- go get -d
|
||||||
- export VERSION=`git describe --tags`
|
- export VERSION=`git describe --tags`
|
||||||
- export BUILDDATE=`date +%G-%m-%d-%H-%M`
|
- export BUILDDATE=`date +%G-%m-%d-%H-%M`
|
||||||
|
|
Reference in New Issue