end of line stuff
Some checks failed
ci/woodpecker/push/main Pipeline failed

This commit is contained in:
Michael Balsillie 2022-08-21 22:32:48 +12:00
parent 96809bdf9c
commit 115ccf72f9

View File

@ -22,17 +22,17 @@ pipeline:
image: debian:11-slim image: debian:11-slim
pull: true pull: true
commands: commands:
- if [[ $TAG =~ ^v1\...\..rc.$ ]] - if [[ $TAG =~ ^v1\...\..rc.$ ]] \
then then \
echo "Tag ${TAG} appears to be a release candidate, terminating build." echo "Tag ${TAG} appears to be a release candidate, terminating build." && \
exit 1 exit 1 \
elif [[ $TAG =~ ^v1\...\..$ ]] elif [[ $TAG =~ ^v1\...\..$ ]] \
then then \
echo "Tag ${TAG} appears to be a release tag, proceeding." echo "Tag ${TAG} appears to be a release tag, proceeding." && \
exit 0 exit 0 \
else else \
echo "Unable to determine nature of tag, terminating build." echo "Unable to determine nature of tag, terminating build." && \
exit 1 exit 1 \
fi fi
clone-source: clone-source:
image: docker:git image: docker:git