diff --git a/.drone.yml b/.drone.yml index 5e2a8a7..6916ff6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,11 +20,11 @@ steps: if [[ "$latestReleaseTag" != "$targetReleaseTag" ]]; then echo "This pipeline is run because the new release is different from the target tag." - exit 0 - else + exit 78 + else echo "The release tag is the same as the target tag. Skipping pipeline." - exit 78 # Skip the pipeline (status code 78) - fi + exit 0 # Skip the pipeline (status code 78) + fi when: status: - success