Skip to content

Commit 7224260

Browse files
committed
Clean old reports
Signed-off-by: David Gardner <dagardner@nvidia.com>
1 parent 50f8820 commit 7224260

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/scripts/github/build_wheel.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ install_python_versions
6262
function create_package_report_tarball() {
6363
local tarball_path="${WORKSPACE_TMP}/package_listings.tar.bz2"
6464
tar -cjf "${tarball_path}" -C "${PIP_REPORTS_DIR}" .
65+
66+
# Clean out the reports directory, in CI this doesn't have an impact, but if running locally it prevents old
67+
# reports from being included in future tarballs
68+
rm -rf "${PIP_REPORTS_DIR}"
6569
echo "${tarball_path}"
6670
}
6771

0 commit comments

Comments
 (0)