databricks-cli/bundle/tests/python_wheel/python_wheel_no_build
Andrew Nester d26f3f4863
Fixed incorrectly cleaning up python wheel dist folder (#1656)
## Changes
In https://github.com/databricks/cli/pull/1618 we introduced prepare
step in which Python wheel folder was cleaned. Now it was cleaned
everytime instead of only when there is a build command how it is used
to work.

This PR fixes it by only cleaning up dist folder when there is a build
command for wheels.

Fixes #1638 

## Tests
Added regression test
2024-08-06 09:54:58 +00:00
..
dist Fixed incorrectly cleaning up python wheel dist folder (#1656) 2024-08-06 09:54:58 +00:00
.gitignore Fixed incorrectly cleaning up python wheel dist folder (#1656) 2024-08-06 09:54:58 +00:00
bundle.yml Fixed incorrectly cleaning up python wheel dist folder (#1656) 2024-08-06 09:54:58 +00:00