This commit is contained in:
parent
96809bdf9c
commit
115ccf72f9
@ -22,17 +22,17 @@ pipeline:
|
||||
image: debian:11-slim
|
||||
pull: true
|
||||
commands:
|
||||
- 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
|
||||
- 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
|
||||
clone-source:
|
||||
image: docker:git
|
||||
|
Loading…
Reference in New Issue
Block a user