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