mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 13:44:15 +00:00
Improve the code style on shell scripts
Double quote to prevent globbing and word splitting.
This commit is contained in:
@@ -148,11 +148,11 @@ release() {
|
|||||||
build_gem
|
build_gem
|
||||||
|
|
||||||
# head back to working branch
|
# head back to working branch
|
||||||
git checkout $_working_branch
|
git checkout "$_working_branch"
|
||||||
|
|
||||||
if [[ $_working_branch == $DEFAULT_BRANCH ]]; then
|
if [[ $_working_branch == $DEFAULT_BRANCH ]]; then
|
||||||
if $_new_release_branch; then
|
if $_new_release_branch; then
|
||||||
git merge $_release_branch
|
git merge "$_release_branch"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user