From c8598e0a875e8dc0dfe8075a98f72cabcd11ef45 Mon Sep 17 00:00:00 2001 From: EndMove Date: Wed, 12 Apr 2023 21:13:08 +0200 Subject: [PATCH] update drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index fee2bbb..99b6acf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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