generated from me/template-mit
Add dash to MASTER, so things like SPACEMASTER would not get considered.
This commit is contained in:
@@ -14,7 +14,7 @@ dir="`basename $DIR`"
|
||||
|
||||
## Validations ##
|
||||
|
||||
if [[ "$DIR" != *"MASTER" ]]; then
|
||||
if [[ "$DIR" != *"-MASTER" ]]; then
|
||||
echo "'$DIR' is not labeled as a MASTER. Skipping upload."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user