From 8090226ce12400136c4917b22a44c36653a8883f Mon Sep 17 00:00:00 2001 From: EndMove Date: Thu, 13 Apr 2023 19:00:29 +0200 Subject: [PATCH] last up --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index fb6c666..062d208 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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