mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Get latest release version from GitHub API
This commit is contained in:
parent
1d45ef7f2c
commit
c75788e31c
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
# Assume "yes" as answer to all prompts and run non-interactively
|
||||
|
||||
UPDATE_URL="https://raw.githubusercontent.com/billz/raspap-webgui/master/"
|
||||
VERSION=$(curl -s https://api.github.com/repos/billz/raspap-webgui/releases/latest | jq -r .tag_name)
|
||||
wget -q ${UPDATE_URL}/installers/common.sh -O /tmp/raspapcommon.sh
|
||||
source /tmp/raspapcommon.sh && rm -f /tmp/raspapcommon.sh
|
||||
|
||||
|
|
Loading…
Reference in a new issue