update drone related files
This commit is contained in:
parent
fb71e75ef5
commit
3db988b553
@ -18,6 +18,7 @@ steps:
|
|||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
files: "*.tar.gz"
|
files: "*.tar.gz"
|
||||||
|
title: ./VERSION
|
||||||
checksum:
|
checksum:
|
||||||
- sha256
|
- sha256
|
||||||
- sha512
|
- sha512
|
||||||
|
@ -11,6 +11,7 @@ build() {
|
|||||||
if [[ ! -z $DRONE_TAG ]]
|
if [[ ! -z $DRONE_TAG ]]
|
||||||
then
|
then
|
||||||
VERSION=$DRONE_TAG
|
VERSION=$DRONE_TAG
|
||||||
|
echo $DRONE_TAG > ./VERSION
|
||||||
elif [[ ! -z $DRONE_TAG ]]
|
elif [[ ! -z $DRONE_TAG ]]
|
||||||
then
|
then
|
||||||
VERSION=$DRONE_COMMIT
|
VERSION=$DRONE_COMMIT
|
||||||
|
Loading…
Reference in New Issue
Block a user