As I understand ghost CLI makes it easy to update Ghost server & admin client. The cli sets up the following directory structure with a symlink from the
current to the most up-to-date version:
content current ---------| versions | 2.25.8 <--- |
When I run
ghost update I assume the cli will download and add a new version to the
versions folder and update the symlink:
content current ---------| versions | 2.25.8 | 2.25.9 <----|
This makes an update a breath.
However, what if I’ve made changes to the core? This is where things become complicated.
I see two options:
- The first option is to update through CLI and then manually make changes in the newest core.
- Second option is to have a clone of the main Ghost core in git and perform merges after the new version is released. In that case I can’t use CLI for update.
What’s the recommended option? Is there an article to read about it? Thanks!