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 <noreply@anthropic.com>
This commit is contained in:
vvs
2026-09-22 10:20:02 +01:00
co-authored by Claude Opus 5
parent 9c1638af07
commit 1c63b829d9
+2 -1
View File
@@ -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