Skip to content

Commit 251083e

Browse files
authored
Merge pull request #233 from Yhg1s/delete-misc-mypy
Delete Misc/mypy during the building of the tarball, as it only exists to run mypy in developer workflows / GitHub Workflows and contains symlinks, which SBOM generation gets confused about.
2 parents 267346a + 0cbda2f commit 251083e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ def export(tag: Tag, silent: bool = False, skip_docs: bool = False) -> None:
635635

636636
# Remove directories we don't want to ship in tarballs.
637637
run_cmd(["blurb", "export"], silent=silent)
638-
for name in (".azure-pipelines", ".git", ".github", ".hg"):
638+
for name in (".azure-pipelines", ".git", ".github", ".hg", "Misc/mypy"):
639639
shutil.rmtree(name, ignore_errors=True)
640640

641641
if not skip_docs and (tag.is_final or tag.level == "rc"):

0 commit comments

Comments
 (0)