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