Skip to content

Commit

Permalink
chore: do not clean untracked files
Browse files Browse the repository at this point in the history
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
  • Loading branch information
corymhall committed Dec 4, 2024
1 parent 242f2e0 commit 3e69cb6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 3e69cb6

Please sign in to comment.