Merge branch 'develop' into stable
[akkoma] / docs / docs / administration / updating.md
index 9f11e40b7175104163a5b9647bdf5cd89a3550dd..cbfc32d58ab5bf8f459a042dff0fa7cd35c2d005 100644 (file)
@@ -26,7 +26,7 @@ su -s "$SHELL" akkoma
 # Run database migrations
 ./bin/pleroma_ctl migrate
 
-# Update frontend(s). See Frontend Configuration doc for more information.
+# Update Pleroma-FE frontend to latest stable. For other Frontends see Frontend Configration doc for more information.
 ./bin/pleroma_ctl frontend install pleroma-fe --ref stable
 
 # Start akkoma
@@ -41,8 +41,10 @@ you _may_ need to specify `--flavour`, in the same way as
 Run as the `akkoma` user:
 
 ```sh
-# Pull in new changes
-git pull
+# fetch changes
+git fetch
+# check out the latest tag
+git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)
 
 # Run with production configuration
 export MIX_ENV=prod