Improve the code style on shell scripts

Double quote to prevent globbing and word splitting.
This commit is contained in:
Cotes Chung 2021-07-11 17:19:24 +08:00
parent d52fa88337
commit 7f8c19d480
1 changed files with 2 additions and 2 deletions

View File

@ -148,11 +148,11 @@ release() {
build_gem
# head back to working branch
git checkout $_working_branch
git checkout "$_working_branch"
if [[ $_working_branch == $DEFAULT_BRANCH ]]; then
if $_new_release_branch; then
git merge $_release_branch
git merge "$_release_branch"
fi
fi