release: capture git status before testing (shellcheck SC2312) · Entire

release: capture git status before testing (shellcheck SC2312)

a8bf68d·

toothbrush·1mo ago·1 file·+2 added/-1 removed

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Sessions

5b271c9e8439View transcript

Changes

1

20 unmodified lines

21
22
23
24
24
25
26
27
28

20 unmodified lines

fi

# Ensure working tree is clean
if [ -n "$(git status --porcelain)" ]; then
status="$(git status --porcelain)"
if [ -n "$status" ]; then
  echo "Error: working tree is not clean, commit or stash changes first"
  exit 1
fi

Mmise-tasks/release+2/-1