ide
ide copied to clipboard
Nightly releases
Pull Request Description
Implements the nightly releases. You can see an example release in the ide-staging repo.
The build works as follows:
- Schedule the nightly build every workday at 6 am UTC (2 hours after the engine nightly release)
- Set the nightly version in the
CHANGELOG.md
and the latest nightly engine version in theconfig.json
. - Perform the build and release steps
- Remove old nightlies, keeping
NIGHTLIES_TO_KEEP
(20) nightly builds
Important Notes
Checklist
Please include the following checklist in your PR:
- [x] The
CHANGELOG.md
was updated with the changes introduced in this PR. - [x] The documentation has been updated if necessary.
- [ ] All code conforms to the Rust style guide.
- [ ] All code has automatic tests where possible.
- [ ] All code has been profiled where possible.
- [x] All code has been manually tested in the IDE.
- [ ] All code has been manually tested in the "debug/interface" scene.
- [ ] All code has been manually tested by the PR owner against our test scenarios.
- [ ] All code has been manually tested by at least one reviewer against our test scenarios.
Note that the engine version also needs to be updated in src/rust/ide/src/controller/project.rs
Note that the engine version also needs to be updated in
src/rust/ide/src/controller/project.rs
Ok, I can fix #1359 as well. Is there a way I can embed the JSON file during the Rust compilation?
Ok, I can fix #1359 as well. Is there a way I can embed the JSON file during the Rust compilation?
I think fixing #1359 is a prerequisite for making automated updates of the engine version work.
You can embed the string with this: https://doc.rust-lang.org/std/macro.include_str.html But you then need to use serde to parse and deserialize the string.
Includes a UTF-8 encoded file as a string.