syntax
Some checks failed
ci/woodpecker/push/main Pipeline failed

This commit is contained in:
Michael Balsillie 2022-08-21 23:01:43 +12:00
parent e0c58b2f35
commit dd54ef3039

View File

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