skip ciignore check for release branches

This commit is contained in:
Shahidh K Muhammed 2019-03-07 21:47:27 +05:30
parent 6a4a33f304
commit a83adf6503

View File

@ -19,6 +19,12 @@ if [[ ! -z "$CIRCLE_TAG" ]]; then
exit exit
fi fi
# always build release branch
if [[ "$CIRCLE_BRANCH" = "release-"* ]]; then
echo "Skipping check for release branch"
exit
fi
if [[ ! -a "$ROOT/.ciignore" ]]; then if [[ ! -a "$ROOT/.ciignore" ]]; then
echo "Skipping check since .ciignore is not found" echo "Skipping check since .ciignore is not found"
exit # If .ciignore doesn't exists, just quit this script exit # If .ciignore doesn't exists, just quit this script