From 7b7d5ba4f37f4c45c6c97d5b4abea3d4e3aee456 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Tue, 21 Mar 2023 15:08:59 +0100 Subject: [PATCH] Updated README.md with publishing instructions fixes https://github.com/TryGhost/Toolbox/issues/495 - this provides documentation on how to publish a new version of Ghost-CLI --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index a80e6f287..3d6cb9dda 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,13 @@ To run the CLI for testing: yarn test ``` +#### Publishing a new version + +1. `yarn ship -- -r patch/minor/major` +2. `npm publish` +3. Go to https://github.com/TryGhost/Ghost-CLI/releases/new and create a new release +4. Use `Generate release notes` and publish + # Copyright & License Copyright (c) 2013-2022 Ghost Foundation - Released under the [MIT license](LICENSE). Ghost and the Ghost Logo are trademarks of Ghost Foundation Ltd. Please see our [trademark policy](https://ghost.org/trademark/) for info on acceptable usage.