update drone related files
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paul 2020-11-14 13:09:58 +01:00
parent fb71e75ef5
commit 3db988b553
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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