chore: custom steps in release checklist for CSLib (#10433)

This commit is contained in:
Kim Morrison 2025-09-18 11:12:00 +10:00 committed by GitHub
parent b6d590ccc3
commit c2d56fa031
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -378,7 +378,11 @@ def execute_release_steps(repo, version, config):
print(red("Tests failed, but continuing with PR creation..."))
print(red(f"Test error: {e}"))
elif repo_name == "cslib":
print(blue("Updating lakefile.toml..."))
run_command(f'perl -pi -e \'s/"v4\\.[0-9]+(\\.[0-9]+)?(-rc[0-9]+)?"/"' + version + '"/g\' lakefile.*', cwd=repo_path)
print(blue("Updating docs/lakefile.toml..."))
run_command(f'perl -pi -e \'s/"v4\\.[0-9]+(\\.[0-9]+)?(-rc[0-9]+)?"/"' + version + '"/g\' lakefile.*', cwd=repo_path / "docs")
# Update lean-toolchain in docs
print(blue("Updating docs/lean-toolchain..."))