This commit is contained in:
parent
ab5146b056
commit
00a4431303
@ -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:
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user