Use consistent bash5 style for conditionals and quoting
This commit is contained in:
@@ -9,7 +9,7 @@ else
|
||||
branch="$1"
|
||||
fi
|
||||
|
||||
if [[ "$branch" != "master" && "$branch" != "rc" && "$branch" != "dev" ]]; then
|
||||
if [[ $branch != "master" && $branch != "rc" && $branch != "dev" ]]; then
|
||||
echo "Error: Invalid branch '$branch'. Must be one of: master, rc, dev"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user