From 5f615ba709ce9c97c1a0834756648ff4e784a604 Mon Sep 17 00:00:00 2001 From: Sthope Date: Mon, 28 Aug 2023 19:26:46 +0200 Subject: [PATCH] Update .drone.yml --- .drone.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index ce2a3eb..5e2a8a7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,12 +20,11 @@ steps: if [[ "$latestReleaseTag" != "$targetReleaseTag" ]]; then echo "This pipeline is run because the new release is different from the target tag." - exit 78 - else - echo "The release tag is the same as the target tag. Skipping pipeline." exit 0 - - fi + else + echo "The release tag is the same as the target tag. Skipping pipeline." + exit 78 # Skip the pipeline (status code 78) + fi when: status: - success