updated ci-build.sh
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Paul 2020-04-08 00:15:20 +02:00
parent ab5146b056
commit 00a4431303
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,6 @@ steps:
environment: environment:
GOOS: linux GOOS: linux
GOARCH: amd64 GOARCH: amd64
DRONE_TAG: ${DRONE_TAG}
- name: release - name: release
image: plugins/gitea-release image: plugins/gitea-release
settings: settings:

View File

@ -7,7 +7,7 @@ then
VERSION=$DRONE_TAG VERSION=$DRONE_TAG
elif elif
VERSION=$DRONE_COMMIT VERSION=$DRONE_COMMIT
else fi
if [[ ! -z $DRONE_TAG && ! -z $GOOS && ! -z $GOARCH ]] if [[ ! -z $DRONE_TAG && ! -z $GOOS && ! -z $GOARCH ]]
then then