From ac0d4c4616ff7c5c601c25e3e78c7dd87b4cfbc1 Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Wed, 26 Jun 2024 15:49:24 +0200 Subject: [PATCH] ci: :green_heart: correctly handle changelog error --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 0b7ef1c..91dd932 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,7 @@ steps: - git fetch --tags - cz bump --annotated-tag --yes - 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: GIT_PASSWORD: from_secret: git_token