This commit is contained in:
parent
cc3d371150
commit
15fdba8235
@ -21,6 +21,7 @@ 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."
|
||||||
echo "Running testing step..."
|
echo "Running testing step..."
|
||||||
|
exit 1
|
||||||
else
|
else
|
||||||
echo "The release tag is the same as the target tag. Skipping testing step."
|
echo "The release tag is the same as the target tag. Skipping testing step."
|
||||||
exit 0
|
exit 0
|
||||||
@ -35,6 +36,3 @@ steps:
|
|||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- echo "test"
|
- echo "test"
|
||||||
when:
|
|
||||||
status:
|
|
||||||
- changed
|
|
Loading…
x
Reference in New Issue
Block a user