update drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jérémi N ‘EndMove’ 2023-04-12 21:13:08 +02:00
parent 17b1307c85
commit c8598e0a87
Signed by: EndMove
GPG Key ID: 65C4A02E1F5371A4

View File

@ -15,7 +15,7 @@ steps:
from_secret: gitea_token
commands:
- VERSION=$(cat VERSION 2>/dev/null) || echo "1.0.0"
- SNAPSHOT="$VERSION" + "-snapshot." + "$DRONE_BUILD_NUMBER"
- SNAPSHOT="${VERSION}-snapshot.${DRONE_BUILD_NUMBER}"
- echo $VERSION
- echo $SNAPSHOT
- npm ci