From 3e69cb6ef31992484221b2bcf2cf249cc0e74d69 Mon Sep 17 00:00:00 2001 From: corymhall <43035978+corymhall@users.noreply.github.com> Date: Wed, 4 Dec 2024 12:15:06 -0500 Subject: [PATCH] chore: do not clean untracked files I don't know why we were running `git clean` here, but we don't do that in any other providers. This is preventing our check worktree clean job to correctly catch when new sdk files are not checked in. fixes #1827 --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 83631e7136..c74d57163a 100644 --- a/Makefile +++ b/Makefile @@ -112,8 +112,6 @@ generate_python: .pulumi/bin/pulumi .pulumi/bin/pulumi package gen-sdk provider/cmd/pulumi-resource-aws-native/schema.json --language python --version "$(VERSION_GENERIC)" build_python:: - # Delete files not tracked in Git - cd sdk/python/ && git clean -fxd cd sdk/python/ && \ cp ../../README.md . && \ rm -rf ./bin/ ../python.bin/ && cp -R . ../python.bin && mv ../python.bin ./bin && \