mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
Fix versions vwv.y.z
This commit is contained in:
parent
a83184851c
commit
0eb35b2fa1
@ -4,7 +4,7 @@ if [ -z "${TRAVIS_TAG}" ]; then
|
||||
echo "Variable \$TRAVIS_TAG not set or empty. Skiping deploying new version on k8s"
|
||||
exit 0
|
||||
fi
|
||||
if ! [[ "${TRAVIS_TAG}" =~ ^v[0-9]\.[0-9]\.[0-9]$ ]]; then
|
||||
if ! [[ "${TRAVIS_TAG}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
echo "Variable \$TRAVIS_TAG does not match with vx.y.z format. Skiping deploying new version on k8s"
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user