build:Try different syntax
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Danny Bessems 2023-05-22 11:55:28 +02:00
parent f1dfc83d7c
commit 263f156eb1

View File

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