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

This commit is contained in:
RaviAnand Mohabir 2024-06-26 15:53:25 +02:00
parent ac0d4c4616
commit 2179ffbfa0

View File

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