Skip to content

Commit

Permalink
Fix CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwalton3 committed May 13, 2024
1 parent c7de173 commit 4c5f66f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,9 @@ jobs:
7z x mpv.7z
mkdir mpv
mv include mpv
gendef libmpv-2.dll
mv libmpv-2.dll mpv/mpv.dll
echo "LIBRARY MPV" > mpv.def.fixed
echo "EXPORTS" >> mpv.def.fixed
cat mpv.def >> mpv.def.fixed
mv mpv.def.fixed mpv.def
mv libmpv-2.def mpv.def
mv mpv.def libmpv.dll.a mpv/
mv mpv build/
shell: bash
Expand Down Expand Up @@ -131,11 +129,9 @@ jobs:
7z x mpv.7z
mkdir mpv
mv include mpv
gendef libmpv-2.dll
mv libmpv-2.dll mpv/mpv.dll
echo "LIBRARY MPV" > mpv.def.fixed
echo "EXPORTS" >> mpv.def.fixed
cat mpv.def >> mpv.def.fixed
mv mpv.def.fixed mpv.def
mv libmpv-2.def mpv.def
mv mpv.def libmpv.dll.a mpv/
mv mpv build/
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion debian-webclient-rules
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ override_dh_auto_configure:
DOWNLOAD_ONLY=1 ./download_webclient.sh
tar -xzf dist.tar.gz
mkdir obj-x86_64-linux-gnu
mv jellyfin-web_* obj-x86_64-linux-gnu/dist
mv jellyfin/jellyfin-web obj-x86_64-linux-gnu/dist
dh_auto_configure $@

override_dh_auto_clean:
Expand Down
4 changes: 2 additions & 2 deletions download_webclient.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ function download_compat {

function get_webclient_version {
curl https://repo.jellyfin.org/files/server/portable/latest-stable/any/ |
tr '<>/' '\t' | grep '[0-9]\+\.[0-9]\+\.[0-9]\+' | cut -f 3 | sort -V |
sed 's/[^0-9]*\([0-9]\+\.[0-9]\+\.[0-9]\+\)[^0-9]*/\1/g' | tail -n 1
tr '<>/' '\t' | grep '[0-9]\+\.[0-9]\+\.[0-9]\+' | cut -f 3 | cut -d_ -f2 |
sed 's/\.[a-z][a-z]*//g' | sort -V | tail -n 1
}

if [[ "$1" == "--gen-fingerprint" ]]
Expand Down

0 comments on commit 4c5f66f

Please sign in to comment.