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"