Attempting to use drone commit in preid
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Brandon Watson 2021-06-07 20:30:18 -04:00
parent c60387a987
commit 6d3cd651be

View File

@ -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: