Skip to content

Commit

Permalink
Fix git status check
Browse files Browse the repository at this point in the history
  • Loading branch information
rosylilly committed Jan 15, 2025
1 parent 04fd4d0 commit 6bee60d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ci/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

CI_RELEASE_VERSION=`date +"v%Y-%m-%d"`

if [ `git status -s` -eq '' ]; then
if [ "$(git status -s)" -eq '' ]; then
echo "No changes to commit"
exit 0
fi
Expand Down

0 comments on commit 6bee60d

Please sign in to comment.