set shell env
Some checks failed
ci/woodpecker/push/main Pipeline failed

This commit is contained in:
Michael Balsillie 2022-08-21 22:48:52 +12:00
parent 55186afafe
commit 4eac7cf73f

View File

@ -20,9 +20,10 @@ clone:
pipeline: pipeline:
check-tag: check-tag:
image: debian:11-slim image: debian:11-slim
pull: true pull: false
environment:
- SHELL=/bin/bash
commands: commands:
- #!/bin/bash
- 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