From 30ad56e1fcb7df1cd0e0dd6efbe4e80b5fa0026b Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Wed, 26 Jun 2024 16:02:41 +0200 Subject: [PATCH] ci: :green_heart: don't exit if successful bump --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index d0de7fc..35eeef6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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