ide icon indicating copy to clipboard operation
ide copied to clipboard

Nightly releases

Open 4e6 opened this issue 2 years ago • 3 comments

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 the config.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.

4e6 avatar Sep 09 '21 14:09 4e6

Note that the engine version also needs to be updated in src/rust/ide/src/controller/project.rs

MichaelMauderer avatar Sep 09 '21 21:09 MichaelMauderer

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?

4e6 avatar Sep 10 '21 10:09 4e6

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.

MichaelMauderer avatar Sep 16 '21 16:09 MichaelMauderer