0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

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