Skip to content

Publishing

Vincent Fugnitto edited this page Nov 25, 2021 · 1 revision

Publishing

Release Procedure

The release procedure of the repo is quite different from the upstream one.
The following lists the procedure in easy to follow steps:

  • create a commit that bumps the version of theia required (example)
    • bump the theia dependencies normally, excluding @theia/cpp-debug
    • perform yarn and confirm the application successfully builds and starts - if the changes require additional fixes (to fix incompatibilities or breaking changes) perform them as well
    • merge the commit
  • reset the repo to master
  • perform the publishing npx lerna publish --exact --ignore-scripts --yes --no-push ${version}
    • ex: npx lerna publish --exact --ignore-scripts --yes --no-push 1.19.0
    • confirm the release was successful npm info @theia/cpp-debug should display the provided version as the latest
  • prepare commit to master
    • lerna commit (example)
    • manual fixes to ensure build is successful (example)
Clone this wiki locally