unity-atoms/PUBLISHING.md

17 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

# Publishing
_Here is a check list for publishing a new version:_
- [] Checkout the canary branch and make sure `CHANGELOG.md` is up to date.
- [] Update the version number in all `package.json` files (on the root and in all the `Packages/<PackageName>/package.json`)
- [] Update the root `README.md` file with the correct version. Also update the version in `docs/introduction/installation.md`.
- [] Commit and push your changes to the canary branch.
- [] Merge the canary branch into the master branch.
- [] Publish a new version of the website.
- [] Go (via the terminal) to the `website` folder.
- [] Run `npm start` to test and see that it runs as expected.
- [] Run `GIT_USER=<your-username> \ CURRENT_BRANCH=master \ npm run publish-gh-pages` to publish the website.
2019-10-18 11:38:24 -04:00
- [] Create a new release under `releases` on the Github repo.
2019-10-24 02:31:52 -04:00
- [] From the root run `npm run publish:all`. This is only possible for me (Adam Ramberg) at the moment. Will need to look into a solution for this.
2023-08-04 17:41:57 -04:00
- [] If master and canary have deviated, then checkout canary, run `git reset --hard master` and force push in order to make them idenctical. This ensures that the work on the next release can start from a clean slate.