Skip to content

Commit 5de9e84

Browse files
authored
Update development.md (#535)
1 parent 3242978 commit 5de9e84

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

doc/development.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
## Updating Lean version
44

55
1. make sure `lean-i18n` has been updated
6-
1. edit `server/lean-toolchain` to contain the desired version: `leanprover/lean4:v4.31.0`
7-
2. edit all `require` statements in `server/lakefile.lean` to contain the toolchain (e.g. `"v4.31.0"`) instead of `"main"`
8-
3. call `lake update --keep-toolchain`
9-
4. undo the changes in `server/lakefile.lean`
10-
5. `npm run build:server`
6+
2. edit `server/lean-toolchain` to contain the desired version: `leanprover/lean4:v4.31.0`
7+
3. edit all `require` statements in `server/lakefile.lean` to contain the toolchain (e.g. `"v4.31.0"`) instead of `"main"`
8+
4. call `lake update --keep-toolchain`
9+
5. undo the changes in `server/lakefile.lean`
10+
6. `npm run build:server`
11+
7. on github, create a PR and merge it
12+
8. create a tag, e.g. `v4.31.0`, pointing to the bump commit

0 commit comments

Comments
 (0)