1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-06-08 00:27:58 +00:00

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

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