ci: 💚 don't exit if successful bump
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
RaviAnand Mohabir 2024-06-26 16:02:41 +02:00
parent 8323383257
commit 30ad56e1fc

View File

@ -11,9 +11,9 @@ steps:
"https://gitea.dikurium.ch/"
- git config --global --add --bool push.autoSetupRemote true
- git fetch --tags
- cz bump --annotated-tag --yes || echo "An error occured while bumping the tag." && exit 0
- cz bump --annotated-tag --yes || (echo "An error occured while bumping the tag." && exit 0)
- 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." && exit 0)
environment:
GIT_PASSWORD:
from_secret: git_token