Skip to content

Commit

Permalink
chore: Update release notes for publishing (#1728)
Browse files Browse the repository at this point in the history
* Update releasing notes to call out we akwats  should rebuild before publishing

* Update releasing.md

Add yarn build
  • Loading branch information
haworku authored Nov 1, 2021
1 parent 5b93b3e commit adf8cd7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ Steps for a new release (these are in the process of being automated):

5. Once the release PR is approved, complete the release and publish the new version (this should be automated by GH - TODO):
- Merge the PR and create a new [**release tag**](https://github.com/trussworks/react-uswds/releases) pointed at `main` on Github. Use the same notes as release PR.
- Pull down latest `main` locally before publishing - `git pull origin main --tags`
- Publish the new package to npm: `npm publish`. You will be prompted for a MFA code.
- **Pull down latest** - `git pull origin main --tags`
- **Rebuild app from scratch** - remove `node_modules` and run `yarn`, `yarn build`. If any errors occur, stop here.
- **Publish the new package to npm** - `npm publish`. You will be prompted for a MFA code.
- You may need to `npm login` first.
- Publishing access is limited to package owners. If you need access and don't have it, please contact `@npm-admins` on Truss Slack.

0 comments on commit adf8cd7

Please sign in to comment.