Explicitly install semantic-release plugins
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
e4e58e4789
commit
0fee2df2a6
@ -45,13 +45,17 @@ steps:
|
|||||||
git-core \
|
git-core \
|
||||||
ca-certificates
|
ca-certificates
|
||||||
- |
|
- |
|
||||||
npm install semantic-release
|
npm install \
|
||||||
|
semantic-release \
|
||||||
|
@semantic-release/commit-analyzer \
|
||||||
|
@semantic-release/release-notes-generator\
|
||||||
|
@semantic-release/exec'
|
||||||
- |
|
- |
|
||||||
export GIT_CREDENTIALS=$${GIT_USERNAME}:$${GIT_APIKEY}
|
export GIT_CREDENTIALS=$${GIT_USERNAME}:$${GIT_APIKEY}
|
||||||
- |
|
- |
|
||||||
npx semantic-release \
|
npx semantic-release \
|
||||||
--branches ${DRONE_BRANCH} \
|
--branches ${DRONE_BRANCH} \
|
||||||
--plugins ['@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', '@semantic-release/github'] \
|
--plugins ['@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', '@semantic-release/exec'] \
|
||||||
--dry-run
|
--dry-run
|
||||||
environment:
|
environment:
|
||||||
GIT_APIKEY:
|
GIT_APIKEY:
|
||||||
|
Loading…
Reference in New Issue
Block a user