forked from pool/traefik
593337feb4
Update to version 2.6.0 OBS-URL: https://build.opensuse.org/request/show/951589 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/traefik?expand=0&rev=8
14 lines
352 B
Bash
14 lines
352 B
Bash
version=$(grep -oP "(?<=<param name=\"revision\">v).*(?=<\/param>)" _service)
|
|
|
|
echo "Fetching Traefik WebUI $version"
|
|
|
|
wget https://github.com/traefik/traefik/releases/download/v${version}/traefik-v${version}.src.tar.gz
|
|
|
|
tar -xvf traefik-v${version}.src.tar.gz ./webui/static
|
|
|
|
tar -czvf traefik-${version}.webui.tar.gz webui
|
|
|
|
rm -rf webui
|
|
|
|
echo "Done"
|