Merge pull request 'update backwards compat notice in admin_api.md' (#473) from flisk...
[akkoma] / docs / docs / administration / updating.md
index 9f11e40b7175104163a5b9647bdf5cd89a3550dd..d0c955e1a311681845a618ece9b7691453c6df8c 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