diff --git a/.drone.yml b/.drone.yml index 627769b..5fc525e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,7 +23,7 @@ steps: commands: - export version=`node -p "require('./package.json').version"` - export commit=`echo $DRONE_COMMIT | cut -c1-5` - - npm version prerelease --preid=commit --git-tag-version=false --allow-same-version=true + - npm version prerelease --preid=$commit --git-tag-version=false --allow-same-version=true when: event: exclude: