Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use stable release for bootstrapping #321

Merged
merged 2 commits into from
Sep 8, 2023

Conversation

mhuisi
Copy link
Collaborator

@mhuisi mhuisi commented Sep 6, 2023

This PR adjusts the bootstrapping to load Lean 4 stable instead of Lean 4 nightly in preparation for the first release. It should not be merged before the release is out. I also need to do some additional QA after the release and before merging, as this is currently entirely untested.

@mhuisi mhuisi changed the title chore: use stable release for bootstrapping Use stable release for bootstrapping Sep 6, 2023
@mhuisi mhuisi marked this pull request as ready for review September 8, 2023 12:13
@mhuisi
Copy link
Collaborator Author

mhuisi commented Sep 8, 2023

I did some manual testing and it seems to work as expected.

}
const release_match = /^leanprover\/lean4:(\d+)-(\d+)-(\d+)$/.exec(toolchainVersion);
if (release_match) {
return new Date(2023, 9, 8);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oof. Is it time to get rid of the Lake conditional?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's a good idea to get rid of it eventually, though not in this PR. I'm not sure about the ways in which people might acquire very old setups, so perhaps it's better to leave it in for now.

@mhuisi mhuisi merged commit 414f67c into leanprover:master Sep 8, 2023
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants