Update .drone.yml
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
afc9c11a5e
commit
5f615ba709
@ -20,11 +20,10 @@ steps:
|
|||||||
|
|
||||||
if [[ "$latestReleaseTag" != "$targetReleaseTag" ]]; then
|
if [[ "$latestReleaseTag" != "$targetReleaseTag" ]]; then
|
||||||
echo "This pipeline is run because the new release is different from the target tag."
|
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
|
exit 0
|
||||||
|
else
|
||||||
|
echo "The release tag is the same as the target tag. Skipping pipeline."
|
||||||
|
exit 78 # Skip the pipeline (status code 78)
|
||||||
fi
|
fi
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user