mirror of
https://github.com/dependabot/fetch-metadata.git
synced 2026-03-12 18:07:12 -04:00
12 lines
255 B
Bash
Executable File
12 lines
255 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Make sure we notice any untracked files generated by the build
|
|
git add --intent-to-add .
|
|
git diff --quiet dist/
|
|
retVal=$?
|
|
if [ $retVal -ne 0 ]; then
|
|
echo "Detected uncommitted changes after build:"
|
|
git --no-pager diff dist/
|
|
exit 1
|
|
fi
|