Skip to content

Commit 03c131e

Browse files
committed
ci: scripts/update-deps didn't work
1 parent c06eb68 commit 03c131e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/update-deps

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LOG_MD_FILE="${1:-/dev/null}"
88

99
FMT_CURRENT=$(git -C "$PROJDIR/vendor/fmt" describe --tags)
1010
FMT_VERSION="$(gh api repos/fmtlib/fmt/releases/latest --jq '.tag_name')"
11-
if "$FMT_CURRENT" != "$FMT_VERSION"
11+
if [ "$FMT_CURRENT" != "$FMT_VERSION" ]
1212
then
1313
echo "- Bumps vendor/fmt from $FMT_CURRENT to $FMT_VERSION" | \
1414
tee -a $LOG_MD_FILE
@@ -17,7 +17,7 @@ fi
1717

1818
SPDLOG_CURRENT=$(git -C "$PROJDIR/vendor/spdlog" describe --tags)
1919
SPDLOG_VERSION="$(gh api repos/gabime/spdlog/releases/latest --jq '.tag_name')"
20-
if "$SPDLOG_CURRENT" != "$SPDLOG_VERSION"
20+
if [ "$SPDLOG_CURRENT" != "$SPDLOG_VERSION" ]
2121
then
2222
echo "- Bumps vendor/spdlog from $SPDLOG_CURRENT to $SPDLOG_VERSION" | \
2323
tee -a $LOG_MD_FILE

0 commit comments

Comments
 (0)