mirror of
https://github.com/containers/podman.git
synced 2025-07-01 16:17:06 +08:00
Cirrus: Add check for make varlink_api_generate
Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
@ -1,12 +1,14 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
SUGGESTION="${SUGGESTION:-sync the vendor.conf and commit all changes.}"
|
||||
|
||||
STATUS=$(git status --porcelain)
|
||||
if [[ -z $STATUS ]]
|
||||
then
|
||||
echo "tree is clean"
|
||||
else
|
||||
echo "tree is dirty, please commit all changes and sync the vendor.conf"
|
||||
echo "tree is dirty, please $SUGGESTION"
|
||||
echo ""
|
||||
echo "$STATUS"
|
||||
exit 1
|
||||
|
Reference in New Issue
Block a user