From ecc54ad3c30a0f6e781561787f74bdd2b556fc17 Mon Sep 17 00:00:00 2001 From: Brandon Watson Date: Mon, 7 Jun 2021 20:35:29 -0400 Subject: [PATCH] WIP --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 4bfea09..627769b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,7 +22,8 @@ steps: image: node commands: - export version=`node -p "require('./package.json').version"` - - npm version prerelease --preid=`$DRONE_COMMIT | cut -c1-5` --git-tag-version=false --allow-same-version=true + - export commit=`echo $DRONE_COMMIT | cut -c1-5` + - npm version prerelease --preid=commit --git-tag-version=false --allow-same-version=true when: event: exclude: