This commit is contained in:
parent
32a46d4805
commit
d511441c7e
10
ci-build.sh
10
ci-build.sh
@ -1,8 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo $DRONE_TAG
|
VERSION=""
|
||||||
echo $GOOS
|
|
||||||
echo $GOARCH
|
if [[ ! -z $DRONE_TAG ]]
|
||||||
|
VERSION=$DRONE_TAG
|
||||||
|
elif
|
||||||
|
VERSION=$DRONE_COMMIT
|
||||||
|
else
|
||||||
|
|
||||||
if [[ ! -z $DRONE_TAG && ! -z $GOOS && ! -z $GOARCH ]]
|
if [[ ! -z $DRONE_TAG && ! -z $GOOS && ! -z $GOARCH ]]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user