You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@burr.apache.org by eb...@apache.org on 2026/01/08 04:59:23 UTC
(burr) 01/01: Updates to clean up upload file names, upload everything
This is an automated email from the ASF dual-hosted git repository.
ebenizzy pushed a commit to branch script-improvements
in repository https://gitbox.apache.org/repos/asf/burr.git
commit 66b5d622bde9de2e1a93d8f82d8d1b3267400543
Author: Elijah ben Izzy <eb...@salesforce.com>
AuthorDate: Wed Jan 7 20:53:02 2026 -0800
Updates to clean up upload file names, upload everything
---
scripts/apache_release.py | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/scripts/apache_release.py b/scripts/apache_release.py
index 64965feb..4edba961 100644
--- a/scripts/apache_release.py
+++ b/scripts/apache_release.py
@@ -302,9 +302,9 @@ def _create_git_archive(version: str, rc_num: str, output_dir: str = "dist") ->
os.makedirs(output_dir, exist_ok=True)
- archive_name = f"apache-burr-{version}-incubating-src.tar.gz"
+ archive_name = f"apache-burr-{version}-incubating.tar.gz"
archive_path = os.path.join(output_dir, archive_name)
- prefix = f"apache-burr-{version}-incubating-src/"
+ prefix = f"apache-burr-{version}-incubating/"
try:
subprocess.run(
@@ -383,7 +383,7 @@ def _build_sdist_from_git(version: str, output_dir: str = "dist") -> str:
original_sdist = sdist_files[0]
apache_sdist = os.path.join(
- output_dir, f"apache-burr-{version.lower()}-incubating-src-sdist.tar.gz"
+ output_dir, f"apache-burr-{version.lower()}-incubating-sdist.tar.gz"
)
if os.path.exists(apache_sdist):
@@ -579,7 +579,9 @@ def _collect_all_artifacts(version: str, output_dir: str = "dist") -> list[str]:
artifacts = []
for filename in os.listdir(output_dir):
- if f"{version}-incubating" in filename:
+ # Match both incubating artifacts and wheel (which doesn't have -incubating suffix)
+ version_match = f"{version}-incubating" in filename or f"{version}" in filename
+ if version_match:
if any(filename.endswith(ext) for ext in [".tar.gz", ".whl", ".asc", ".sha512"]):
artifacts.append(os.path.join(output_dir, filename))