Skip to content

Commit

Permalink
Event better check
Browse files Browse the repository at this point in the history
  • Loading branch information
bryce-anderson committed Jan 16, 2025
1 parent 4eec193 commit 1f34fe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ if [ "$#" -ne "2" ]; then
exit 1
fi

if ! git diff --quiet; then
echo "Branch is dirty. Commit or revert any changes before releasing."
if [ -n "$(git status --porcelain)" ]; then
echo "Branch has uncommitted changes. Commit or revert any changes before releasing."
exit 1
fi

Expand Down

0 comments on commit 1f34fe7

Please sign in to comment.