Use "latest" rather than hard-coded link versions (#311)

This commit is contained in:
Angel Knutsen Aune 2021-01-11 00:16:41 +01:00 committed by GitHub
parent 69a9508791
commit a9a3a7ca7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -88,7 +88,7 @@ and then set the correct permissions on the `storage/` and `bootstrap/cache/` di
allow us to store files as well as keep a speedy cache available to reduce load times.
``` bash
curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/download/v1.2.1/panel.tar.gz
curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz
tar -xzvf panel.tar.gz
chmod -R 755 storage/* bootstrap/cache/
```

View File

@ -49,7 +49,7 @@ are not always detected properly, so simply uppacking over this location will re
``` bash
# Delete the app directory to ensure we start with a clean slate here. This will not affect any
# of your settings or servers.
curl -L -o panel.tar.gz https://github.com/pterodactyl/panel/releases/download/v1.2.1/panel.tar.gz
curl -L -o panel.tar.gz https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz
rm -rf $(find app public resources -depth | head -n -1 | grep -Fv "$(tar -tf panel.tar.gz)")
# Download the updated files and delete the archive file.

View File

@ -18,7 +18,7 @@ into your current folder.
:::
``` bash
curl -L https://github.com/pterodactyl/panel/releases/download/v1.2.1/panel.tar.gz | tar -xzv
curl -L https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz | tar -xzv
```
Once all of the files are downloaded we need to set the correct permissions on the cache and storage directories to avoid

View File

@ -95,7 +95,7 @@ run the commands below which will create the base directory and download the win
``` bash
mkdir -p /etc/pterodactyl
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/download/v1.2.3/wings_linux_amd64
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64
chmod u+x /usr/local/bin/wings
```

View File

@ -17,7 +17,7 @@ run the commands below which will create the base directory and download the win
``` bash
mkdir -p /etc/pterodactyl
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/download/v1.2.3/wings_linux_amd64
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64
chmod u+x /usr/local/bin/wings
```

View File

@ -9,7 +9,7 @@ First, download the updated wings binary into `/usr/local/bin`.
:::
``` bash
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/download/v1.2.3/wings_linux_amd64
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64
chmod u+x /usr/local/bin/wings
```