drone fetch tags...
This commit is contained in:
parent
f425e3ee32
commit
8a8cd9f804
|
@ -20,9 +20,10 @@ pipeline:
|
|||
- apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git openssh-client
|
||||
- go get -d
|
||||
- $QT_DIR/5.12.0/gcc_64/bin/lrelease ui.pro
|
||||
- git fetch --tags
|
||||
- export VERSION=`git describe --tags`
|
||||
- export BUILDDATE=`date +%G-%m-%d-%H-%M`
|
||||
- qtdeploy -ldflags "-X main.buildVer=$VERSION main.buildDate=$BUILDDATE" build linux
|
||||
- qtdeploy -ldflags "-X main.buildVer=$VERSION -X main.buildDate=$BUILDDATE" build linux
|
||||
- export FILENAME=cwtch-linux-$BUILDDATE.tar.gz
|
||||
- cd deploy
|
||||
- mv linux cwtch
|
||||
|
|
Reference in New Issue