Additional instructions for Glistix:
- Ensure
compiler-core/src/version.rsandREADME.mdboth report the current Gleam version we're tracking. - Bump Glistix version in each
Cargo.toml(as well asCargo.lockby runningcargo checkonce), in the new project flake template atcompiler-cli/src/new.rs(which will require updating test snapshots atcompiler-cli/src/new/snapshots) and innix/glistix.nix, as well as inREADME.md. - Update the
cargoHashinnix/glistix.nixby setting it to""and trying to runnix build. The error will inform the new hash. - Follow "Gleam checklist" below.
- Add changelog to the Glistix book (initially with "(Unreleased)" as the release date).
- Update the book as needed (there are several compiler internals documented there, including which patches we applied on top of the base Gleam compiler).
- Update the Glistix version in the book's installation instructions in "Getting Started".
- Ensure the Zulip invite is up-to-date in the README and book (if present).
- If the default
gleam.tomlchanged, update it in the book's "Project configuration" section.
After release:
- Update the new version's changelog in the book to display the release date in UTC (both in the changelog's page and in the
src/SUMMARY.md). - Push a book tag with the new release version.
- Bump the Glistix playground's Glistix version by updating the
GLEAM_VERSIONfile. - Update Glistix library forks' flakes to point to the new Glistix version.
- Update the version in each
Cargo.toml. - Update versions in
src/new.rsfor stdlib etc if required. - Run
make test build. - Git commit, tag, push, push tags.
- Wait for CI release build to finish.
- Publish release on GitHub from draft made by CI.
- Update version in
Cargo.tomlto next-dev. - Update clone target version in
getting-started.mdinwebsite.