Skip to content

Commit

Permalink
Fixup build check
Browse files Browse the repository at this point in the history
Don't check untracked files so as not to fail for parts/ and stage/
dirs

Signed-off-by: Peter Sabaini <[email protected]>
  • Loading branch information
sabaini committed Mar 13, 2024
1 parent 796d319 commit 19889ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 19889ba

Please sign in to comment.