This commit is contained in:
parent
cc3d371150
commit
15fdba8235
@ -21,6 +21,7 @@ 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
|
||||
@ -34,7 +35,4 @@ steps:
|
||||
- name: testing
|
||||
image: alpine
|
||||
commands:
|
||||
- echo "test"
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- echo "test"
|
Loading…
x
Reference in New Issue
Block a user