Skip to content

Commit

Permalink
fix(ci): properly update nuget and update ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
matt1432 committed Oct 26, 2024
1 parent 8ed2440 commit 78fe94f
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ updateNpmDepsHash() {
}
updateNugetDeps() {
fetchDeps=$(nix build .#jellyfin.fetch-deps --print-out-paths --no-link)
deps=$($fetchDeps |& tail -n 1 | sed 's/Succesfully wrote lockfile to //')
depsFile="$ROOT_DIR/pkgs/jellyfin/nuget-deps.nix"
cp -rf "$deps" "$ROOT_DIR/pkgs/jellyfin/nuget-deps.nix"
fetchDeps=$(nix build .#jellyfin.fetch-deps --print-out-paths --no-link)
rm -rf "$depsFile"
$fetchDeps "$depsFile"
}
updatePackage() {
Expand Down Expand Up @@ -84,7 +85,4 @@ updatePackage() {
updatePackage "jellyfin" "jellyfin"
updatePackage "jellyfin" "jellyfin-web"
updatePackage "jellyfin" "jellyfin-media-player"
# 7.0 version is NOT fully compatible with Jellyfin 10.9.z.
# Downstream should wait until Jellyfin 10.10.z is released before upgrading to this version.
# updatePackage "jellyfin" "jellyfin-ffmpeg"
updatePackage "jellyfin" "jellyfin-ffmpeg"

0 comments on commit 78fe94f

Please sign in to comment.