updated .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Paul 2020-04-08 00:13:49 +02:00
parent 32a46d4805
commit d511441c7e

View File

@ -1,8 +1,12 @@
#!/bin/bash
echo $DRONE_TAG
echo $GOOS
echo $GOARCH
VERSION=""
if [[ ! -z $DRONE_TAG ]]
VERSION=$DRONE_TAG
elif
VERSION=$DRONE_COMMIT
else
if [[ ! -z $DRONE_TAG && ! -z $GOOS && ! -z $GOARCH ]]
then