From 19889baea3bb6d10a7c974f1b89ca0237d165b57 Mon Sep 17 00:00:00 2001 From: Peter Sabaini Date: Wed, 13 Mar 2024 08:51:04 +0100 Subject: [PATCH] Fixup build check Don't check untracked files so as not to fail for parts/ and stage/ dirs Signed-off-by: Peter Sabaini --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index a55cb835..4296fd8d 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -284,7 +284,7 @@ parts: go get -d -v ./... override-build: | set -ex - git_diff="$( git -C $CRAFT_PROJECT_DIR status --porcelain )" + git_diff="$( git -C $CRAFT_PROJECT_DIR status -uno --porcelain )" if [ -n "$git_diff" ]; then echo "==================================================" echo "STOP the build: dirty worktree detected"