From 6d3cd651be3a5aeae97a3aa94901c8eb97c05591 Mon Sep 17 00:00:00 2001 From: Brandon Watson Date: Mon, 7 Jun 2021 20:30:18 -0400 Subject: [PATCH] Attempting to use drone commit in preid --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e4e867c..4bfea09 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,7 +22,7 @@ steps: image: node commands: - export version=`node -p "require('./package.json').version"` - - npm version prerelease --preid=pre --git-tag-version=false --allow-same-version=true + - npm version prerelease --preid=`$DRONE_COMMIT | cut -c1-5` --git-tag-version=false --allow-same-version=true when: event: exclude: