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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user