This document outlines the steps required to release a new version of AEP Rules Engine. We are using Github Actions to automate the publishing process to NPM.
- Update the version number in the
package.json
file according to the semantic versioning principles. - Open a PR with your changes to the
main
branch. - Get the PR reviewed and merged.
- Click on the Actions button in Github.
- Click on the Publish to NPM link in the left pane of the page.
- Click on the Run workflow dropdown on the right side of the page.
- Click the Run workflow button on the right side of the page.
- Verify that the new version is published to NPM.
- Create a new release and tag with the new release version number:
- Click on the Releases tab in Github.
- Draft a new release and find or create a new tag.
- Add the version number as the release title and click on the publish release button.
- There is no need to upload any binary files, as they will be auto-populated once you click on the publish release button.