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: