Skip to content
Snippets Groups Projects
Commit 1ba7781e authored by JocelynDelalande's avatar JocelynDelalande
Browse files

Fix typos in upgrade process:

- missing "H" in "FUNKWHALE"
- be consistent on `$FUNKWHALE_VERSION` env var use
parent 7d60155b
No related branches found
No related tags found
No related merge requests found
......@@ -77,12 +77,12 @@ match what is described in :doc:`debian`:
.. parsed-literal::
# this assumes you want to upgrade to version "|version|"
export FUNKWALE_VERSION="|version|"
export FUNKWHALE_VERSION="|version|"
cd /srv/funkwhale
# download more recent API files
sudo -u funkwhale curl -L -o "api-|version|.zip" "https://code.eliotberriot.com/funkwhale/funkwhale/-/jobs/artifacts/$FUNKWALE_VERSION/download?job=build_api"
sudo -u funkwhale unzip "api-$FUNKWALE_VERSION.zip" -d extracted
sudo -u funkwhale curl -L -o "api-$FUNKWHALE_VERSION.zip" "https://code.eliotberriot.com/funkwhale/funkwhale/-/jobs/artifacts/$FUNKWHALE_VERSION/download?job=build_api"
sudo -u funkwhale unzip "api-$FUNKWHALE_VERSION.zip" -d extracted
sudo -u funkwhale rm -rf api/ && mv extracted/api .
sudo -u funkwhale rm -rf extracted
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment