make the uncommitted files message easier to understand
This commit is contained in:
@@ -29,6 +29,9 @@ jobs:
|
||||
|
||||
- name: Verify no uncommitted files
|
||||
run: |
|
||||
git status --porcelain=v1
|
||||
'[ -z "$(git status --porcelain=v1 2>/dev/null)" ]'
|
||||
shell: bash
|
||||
if [ -n "$(git status --porcelain=v1 2>/dev/null)" ]; then
|
||||
echo "There are uncommitted changes!"
|
||||
git status --porcelain=v1
|
||||
exit 1
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user