last up
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jérémi N ‘EndMove’ 2023-04-13 19:00:29 +02:00
parent 13830d5ef6
commit 8090226ce1
Signed by: EndMove
GPG Key ID: 65C4A02E1F5371A4

View File

@ -15,10 +15,10 @@ steps:
from_secret: gitea_token
commands:
- VERSION=$(cat VERSION 2>/dev/null) || echo "1.0.0"
- SNAPSHOT="${VERSION}-snapshot.${DRONE_BUILD_NUMBER}"
- SNAPSHOT="$(echo $VERSION)-snapshot.${DRONE_BUILD_NUMBER}"
- echo $VERSION
- echo $SNAPSHOT
- npm ci
- npm version -snapshot.00
- npm publish @ioprojects/ui-eslint-base@-snapshot.00
- npm dist-tag add @ioprojects/ui-eslint-base@-snapshot.00 snapshot
- npm version $SNAPSHOT
- npm publish @ioprojects/ui-eslint-base@$SNAPSHOT
- npm dist-tag add @ioprojects/ui-eslint-base@$SNAPSHOT snapshot