Skip to content

Commit 17aefbf

Browse files
committed
properly check git status
1 parent e4839e0 commit 17aefbf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/update-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if ! [[ "$1" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
1111
fi
1212

1313
# Check if git status is clean
14-
if ! git status --porcelain | grep -q '^[MADRCU]'; then
14+
if git status --porcelain | grep -q '^[MADRCU]'; then
1515
echo "Git status is not clean"
1616
exit 1
1717
fi

0 commit comments

Comments
 (0)