DELIVERY-8: add ci, package stabilisation #1

Merged
EndMove merged 29 commits from DELIVERY-8 into master 2023-06-28 13:26:09 +02:00
Showing only changes of commit 8090226ce1 - Show all commits

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