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