ci: 💚 correctly handle changelog error
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
RaviAnand Mohabir 2024-06-26 15:49:24 +02:00
parent eedaab42d5
commit ac0d4c4616

View File

@ -13,7 +13,7 @@ steps:
- git fetch --tags - git fetch --tags
- cz bump --annotated-tag --yes - cz bump --annotated-tag --yes
- git push --follow-tags - git push --follow-tags
- cz changelog $(cz version -p) > CZ_CURRENT_CHANGELOG.md || echo "An error occured while generating the changelog." - (cz changelog $(cz version -p) > CZ_CURRENT_CHANGELOG.md) || echo "An error occured while generating the changelog."
environment: environment:
GIT_PASSWORD: GIT_PASSWORD:
from_secret: git_token from_secret: git_token