Updated publish note in readme

no issue

- Removes redundant manual version update line as `yarn ship` shows a prompt
This commit is contained in:
Rish 2020-06-06 20:18:23 +05:30
parent 4689061d49
commit 0d50b68596

View File

@ -77,10 +77,12 @@ See the section about [running tests](https://facebook.github.io/create-react-ap
## Publish
- `yarn ship` is an alias for `npm publish`
- Before shipping, please ensure the intended version is updated in `package.json`.
- Builds the script with latest code using `yarn build` (prePublish)
- Publishes package on npm as `@tryghost/members-js` and creates an unpkg link for script at https://unpkg.com/@tryghost/members-js@VERSION
Run `yarn ship` to publish new version of script.
`yarn ship` is an alias for `npm publish`
- Builds the script with latest code using `yarn build` (prePublish)
- Publishes package on npm as `@tryghost/members-js` and creates an unpkg link for script at https://unpkg.com/@tryghost/members-js@VERSION
## Learn More