build:Try different syntax
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Danny Bessems 2023-05-22 11:55:28 +02:00
parent f1dfc83d7c
commit 263f156eb1
1 changed files with 1 additions and 4 deletions

View File

@ -57,9 +57,6 @@ steps:
- |
export GIT_CREDENTIALS=$${GIT_USERNAME}:$${GIT_APIKEY}
- |
# npx semantic-release \
# --branches ${DRONE_BRANCH} \
# --dry-run
npx semantic-release \
--package @semantic-release/exec \
--package semantic-release \
@ -68,7 +65,7 @@ steps:
--plugins @semantic-release/commit-analyzer,@semantic-release/exec \
--analyzeCommits @semantic-release/commit-analyzer \
--verifyRelease @semantic-release/exec \
--verifyReleaseCmd 'echo ${nextRelease.version} > .\.version'
--verifyReleaseCmd "echo \${nextRelease.version} > .\.version"
environment:
GIT_APIKEY:
from_secret: git_apikey