You now need yarn installed: https://yarnpkg.com/en/docs/install
Workflows now automatically check for and create new releases daily based from tags on the main compiler repo.
- Run the Compiler release workflow
- For the
COMPILER_VERSION_NUMBERinput, use the actual version number here without thev. - If you do not provide a version number, the workflow will use the oldest version tag that is newer than the current package major version.
- For the
- Verify the workflow runs successfully. It will push the release commit and tag.
- Verify the new version published to npm.
Features and fixes to the packages in this repo need not wait for a main compiler release. They can be published at any time if they are backwards compatible with the last major version. Breaking changes should be deployed at the same time as a major compiler release.
- Run
yarn install. - Run
yarn version (patch|minor). Patch level versions should be used for fixing issues. Minor level versions should be used for new features that are backwards compatible. - Push commit and tags
After pushing a new tagged commit, Github Actions
will automatically start building this commit. Expand the Deploying application section at the bottom of the log.
Each package should show npm logs for packaging and publication. In addition,
the npm registry page for each package should list the newly published version.