Monthly update

Switch from debian to apline linux based container.
Cut down final image size by ~1GB
This commit is contained in:
2022-03-03 20:22:49 +01:00
parent b3f1377250
commit ab64a5370a
3 changed files with 13 additions and 17 deletions

View File

@@ -1,13 +1,10 @@
#!/bin/bash
#!/bin/sh
echo "Downloading latest yt-dlp build..."
rm -f yt-dlp
RELEASE=$(curl --silent "https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest" |
grep '"tag_name":' |
sed -E 's/.*"([^"]+)".*/\1/'
)
RELEASE=$(curl --silent "https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
wget "https://github.com/yt-dlp/yt-dlp/releases/download/$RELEASE/yt-dlp"