From 8dd7f0dcbd61a1d8954c91fc8209b0fd75be0664 Mon Sep 17 00:00:00 2001 From: Sthope Date: Mon, 28 Aug 2023 19:24:04 +0200 Subject: [PATCH] Update .drone.yml --- .drone.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6075f02..45a50f1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ steps: # settings: # repo: https://github.com/insignia-live/setup-assistant-release.git - - name: run + - name: check_release_tag image: alpine:3.13 commands: - apk add --no-cache curl jq @@ -20,12 +20,11 @@ steps: if [[ "$latestReleaseTag" != "$targetReleaseTag" ]]; then echo "This pipeline is run because the new release is different from the target tag." - echo "Running testing step..." - exit 1 - else - echo "The release tag is the same as the target tag. Skipping testing step." 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 @@ -35,4 +34,4 @@ steps: - name: testing image: alpine commands: - - echo "test" \ No newline at end of file + - echo "test"