These steps are a WIP - let me know if you have any ideas for automation / improvement!
To release a new version of NoteDeck:
-
Changes must be made in branches following a convention of
id--Issue-name-goes-here
whereid
refers to the numeric ID for the issue. -
Once changes have been made, locally:
-
Format code -
npm run tidy
. -
Run the linter -
npm run lint
-
Run a test build -
npm run build
-
-
Raise a PR to merge the code into the
dev
branch. -
Once PRs / branches have been accounted for, bump NoteDeck's version by committing to the
dev
branch:-
Update -
/package.json
-
Update -
/src/utilities/constants.ts
-
Run
npm i
to update thepackage-lock.json
-
-
Create a new release in GitHub, targeting the latest change in the
dev
branch. The release statement should follow the pattern used for past releases. -
Raise a PR to merge
dev
intomain
. -
An automated pipeline for the resource (hosted on Render) will kick-off automatically. Monitor this to ensure the process completes without issue.
-
Confirm the release is live and commence smoke testing. All users should see the "upgrade" notification if enabled, otherwise will be "upgraded" when their browser's cache expires.