mirror of
https://github.com/chatmail/relay.git
synced 2026-09-25 08:40:09 +00:00
Update faq.rst to clarify how to deploy tagged releases
This commit is contained in:
+11
-3
@@ -63,9 +63,17 @@ and run the following commands:
|
|||||||
scripts/initenv.sh
|
scripts/initenv.sh
|
||||||
scripts/cmdeploy run
|
scripts/cmdeploy run
|
||||||
|
|
||||||
If you don't want the latest development version,
|
To upgrade to the latest tag,
|
||||||
but a specific tagged release like `1.10.0 <https://github.com/chatmail/relay/releases/tag/1.10.0>`_,
|
``cd`` into your local checkout of https://github.com/chatmail/relay/
|
||||||
run ``git pull origin 1.10.0`` instead.
|
and run the following commands:
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
git fetch --tags
|
||||||
|
latestTag=$(git describe --tags "$(git rev-list --tags --max-count=1)")
|
||||||
|
git checkout $latestTag
|
||||||
|
scripts/initenv.sh
|
||||||
|
scripts/cmdeploy run
|
||||||
|
|
||||||
If you made local changes for your setup,
|
If you made local changes for your setup,
|
||||||
they will be reapplied as long as they don't conflict with the upgrade.
|
they will be reapplied as long as they don't conflict with the upgrade.
|
||||||
|
|||||||
Reference in New Issue
Block a user