Merge branch 'develop' into stable
[akkoma] / docs / docs / administration / updating.md
index 21ddb11d920a9c6ade65f1cb1e7b3ca7d7801433..cbfc32d58ab5bf8f459a042dff0fa7cd35c2d005 100644 (file)
@@ -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