From 556122121b7994cb1d6e1a944659a2300fecdb64 Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Thu, 27 Jun 2024 16:33:06 +0200 Subject: [PATCH] ci: :green_heart: exit 0 if error in cz bump --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index c236089..732de28 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: