Attempting to use drone commit in preid
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c60387a987
commit
6d3cd651be
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user