ci: 💚 exit 0 if error in cz bump
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e9b1290802
commit
556122121b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user