build:Test with configuration in .releaserc.json
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
978f39d45b
commit
5b950a3834
@ -54,13 +54,13 @@ steps:
|
||||
semantic-release \
|
||||
@semantic-release/commit-analyzer \
|
||||
@semantic-release/release-notes-generator\
|
||||
@semantic-release/exec \
|
||||
@semantic-release/git
|
||||
- |
|
||||
export GIT_CREDENTIALS=$${GIT_USERNAME}:$${GIT_APIKEY}
|
||||
- |
|
||||
npx semantic-release \
|
||||
--branches ${DRONE_BRANCH} \
|
||||
--plugins @semantic-release/commit-analyzer,@semantic-release/release-notes-generator,@semantic-release/git \
|
||||
--dry-run
|
||||
environment:
|
||||
GIT_APIKEY:
|
||||
|
11
.releaserc.json
Normal file
11
.releaserc.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"plugins": [
|
||||
["@semantic-release/commit-analyzer"],
|
||||
["@semantic-release/release-notes-generator"],
|
||||
["@semantic-release/exec", {
|
||||
"prepareCmd": "export SEMANTICRELEASE_NEXTRELEASEVERSION=${nextRelease.version}",
|
||||
"publishCmd": "echo $SEMANTICRELEASE_NEXTRELEASEVERSION"
|
||||
}],
|
||||
["@semantic-release/git"]
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user