generated from me/template-mit
Process folders named as SYNC as both a MASTER and CLONE.
This commit is contained in:
@@ -14,8 +14,8 @@ dir="`basename $DIR`"
|
||||
|
||||
## Validations ##
|
||||
|
||||
if [[ "$DIR" != *"-MASTER" ]]; then
|
||||
echo "'$DIR' is not labeled as a MASTER. Skipping upload."
|
||||
if [[ "$DIR" != *"-MASTER" || "$DIR" != *"-SYNC" ]]; then
|
||||
echo "'$DIR' is not labeled as a MASTER or SYNC. Skipping upload."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user