drone fix ordering
This commit is contained in:
parent
c9f4afb214
commit
21b6429a7f
|
@ -18,13 +18,12 @@ pipeline:
|
|||
- export GOPATH=$GOPATH:/media/sf_GOPATH1/
|
||||
- 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
|
||||
- export GO111MODULE=on
|
||||
- go get -d
|
||||
- $QT_DIR/$QT_API/gcc_64/bin/lrelease ui.pro
|
||||
- git fetch --tags
|
||||
- export VERSION=`git describe --tags`
|
||||
- export BUILDDATE=`date +%G-%m-%d-%H-%M`
|
||||
- export GO111MODULE=on
|
||||
- go get -d
|
||||
- qtdeploy -ldflags "-X main.buildVer=$VERSION -X main.buildDate=$BUILDDATE" build linux
|
||||
- cp README.md deploy/linux
|
||||
- export FILENAME=cwtch-linux-$BUILDDATE.tar.gz
|
||||
|
|
Reference in New Issue