ci: 💚 exit 0 if error in cz bump
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
RaviAnand Mohabir 2024-06-27 16:33:06 +02:00
parent e9b1290802
commit 556122121b

View File

@ -12,7 +12,7 @@ steps:
- git config --global --add --bool push.autoSetupRemote true
- git fetch --tags
- pip install -U Commitizen
- cz bump --annotated-tag --yes
- cz bump --annotated-tag --yes || (echo "An error occured while bumping the tag." && exit 0)
- git push --follow-tags
- cz changelog $(cz version -p) --file-name CZ_CURRENT_CHANGELOG.md || echo "An error occured while generating the changelog."
environment:
@ -30,7 +30,7 @@ steps:
from_secret: docker_username
password:
from_secret: docker_password
- image: gitea.dikurium.ch/innopeak/drone-gitea-release
- image: gitea.dikurium.ch/innopeak/drone-gitea-release:0.6
name: create release
settings:
gitea_password: