This commit is contained in:
parent
32a46d4805
commit
d511441c7e
10
ci-build.sh
10
ci-build.sh
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user