Skip to content
Colton Hirst edited this page Oct 25, 2023 · 3 revisions

Publishing

The automatic publish process only supports publishing a latest version. The process consists of the following.

A pull request is created for a feature branch to merge into master. Before merging, the feature branch needs to increment the version found in the package.json under version. Read more about semantic versioning here.

When the pull request is merged it will run a job to publish to NPM and a job to publish to AWS S3. The S3 job will only run when the NPM job is successful. The S3 job will publish a rentdynamics.latest.js and a rentdynamics.<VERSION>.js.

Note the NPM publish command uses the latest distribution tag and the S3 publish job always uploads to the latest file. For these reasons, specifying a semantic package version indicating a "beta" status (i.e. x.x.x-rc.x) will not be enough. All versions released through the automatic deploy will be treated as full releases until the release job is enhanced to support more kinds of versions.

Clone this wiki locally