7d7f0054e5
date: 2024-02-21T23:02:42 master commit: 0b4d08fab8e35a264bc7383e878538f8083c33e5
12 lines
220 B
Bash
Executable File
12 lines
220 B
Bash
Executable File
#!/usr/bin/bash
|
|
set -e
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
cd $DIR
|
|
|
|
if [ ! -z "$(git status --porcelain)" ]; then
|
|
echo "Dirty working tree after build:"
|
|
git status --porcelain
|
|
exit 1
|
|
fi
|