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