X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fdocs%2Fadministration%2Fupdating.md;h=cbfc32d58ab5bf8f459a042dff0fa7cd35c2d005;hb=367bc9c818654d5c4214e7a9e2bca969623417f8;hp=21ddb11d920a9c6ade65f1cb1e7b3ca7d7801433;hpb=f676007b18f7df7efada72f688f1213fc6d02749;p=akkoma diff --git a/docs/docs/administration/updating.md b/docs/docs/administration/updating.md index 21ddb11d9..cbfc32d58 100644 --- a/docs/docs/administration/updating.md +++ b/docs/docs/administration/updating.md @@ -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