12 lines
203 B
Bash
12 lines
203 B
Bash
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
set -e
|
||
|
|
set -x
|
||
|
|
|
||
|
|
if [[ "$(git status --porcelain)" != "" ]]; then
|
||
|
|
git status
|
||
|
|
git diff
|
||
|
|
echo "::error::Unstaged changes detected. Locally try running: script/build.sh"
|
||
|
|
exit 1
|
||
|
|
fi
|