mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-21 23:58:49 -05:00
17 lines
1.2 KiB
Markdown
17 lines
1.2 KiB
Markdown
# 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.
|
|
- [] Create a new release under `releases` on the Github repo.
|
|
- [] 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.
|
|
- [] 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.
|