From 1c63b829d9693ab3474868d991dac35b6bc8f441 Mon Sep 17 00:00:00 2001 From: Valeri Sitnikov Date: Tue, 22 Sep 2026 10:20:02 +0100 Subject: [PATCH] Zenodo package: the bundle carries HEAD as well, so a plain 'git clone sim-numerics.bundle' checks the branch out (the clean-room check could not clone it). Co-Authored-By: Claude Opus 5 --- zenodo/make_open_package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zenodo/make_open_package.py b/zenodo/make_open_package.py index 1eabb82..4190918 100644 --- a/zenodo/make_open_package.py +++ b/zenodo/make_open_package.py @@ -54,7 +54,8 @@ def main(): git("-c", "core.autocrlf=false", "archive", "--format=tar", "--prefix=source/", "-o", tar, "HEAD") shutil.unpack_archive(tar, PKG) os.remove(tar) - git("bundle", "create", os.path.join(PKG, "sim-numerics.bundle"), "release") + # HEAD too, so that `git clone sim-numerics.bundle` checks the branch out + git("bundle", "create", os.path.join(PKG, "sim-numerics.bundle"), "HEAD", "release") for w in WHEELS: shutil.copy(os.path.join(ROOT, w), os.path.join(PKG, "wheels")) src = os.path.join(PKG, "source") # from the archive: LF, exactly as committed