chore: fix to release scripts (#10401)

This commit is contained in:
Kim Morrison 2025-09-16 10:23:55 +10:00 committed by GitHub
parent 6d30aeefe5
commit 38214ac121
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -382,7 +382,7 @@ def execute_release_steps(repo, version, config):
# Update lean-toolchain in docs
print(blue("Updating docs/lean-toolchain..."))
docs_toolchain = "docs" / "lean-toolchain"
docs_toolchain = repo_path / "docs" / "lean-toolchain"
with open(docs_toolchain, "w") as f:
f.write(f"leanprover/lean4:{version}\n")
print(green(f"Updated docs/lean-toolchain to leanprover/lean4:{version}"))