Compare commits

...

2 Commits

Author SHA1 Message Date
Bel LaPointe
26864f64d4 pip3 install alpine
All checks were successful
cicd / ci (push) Successful in 10m46s
2025-05-25 12:59:13 -06:00
Bel LaPointe
932e396341 install pip3
Some checks failed
cicd / ci (push) Failing after 10s
2025-05-25 12:55:01 -06:00

View File

@@ -3,6 +3,14 @@
main() { main() {
set -eo pipefail set -eo pipefail
if ! which pip3; then
if which apk; then
apk update && apk add py3-pip
else
apt install -y pip3
fi
fi
cd_work_d cd_work_d
ytdlp2STRM_d=./ytdlp2STRM ytdlp2STRM_d=./ytdlp2STRM
@@ -11,7 +19,15 @@ main() {
head_ts="$(cd "$ytdlp2STRM_d"; git log -n 1 --format=%as)" head_ts="$(cd "$ytdlp2STRM_d"; git log -n 1 --format=%as)"
echo head_ts=$head_ts echo head_ts=$head_ts
yt_dlp_latest="$(pip3 index versions yt-dlp | grep LATEST | awk '{print $NF}')" yt_dlp_latest="$(
pip3 index versions yt-dlp \
| grep '^Available.versions:' \
| tr ' ' '\n' \
| grep -v 'Available.versions:' \
| sort -n \
| tail -n 1 \
| tr -d ','
)"
echo yt_dlp_latest=$yt_dlp_latest echo yt_dlp_latest=$yt_dlp_latest
img=registry-app.inhome.blapointe.com:5001/bel/ytdlp2strm img=registry-app.inhome.blapointe.com:5001/bel/ytdlp2strm