Skip to content

Commit

Permalink
Add tar.xz archives
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaboniface committed Mar 3, 2024
1 parent 5eee21b commit 48c298b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fedora:
# Portable archives
linux:
build_function: build_linux
archivetypes: targz
archivetypes: targz,tarxz
archmaps:
amd64:
DOTNET_ARCH: x64
Expand Down Expand Up @@ -81,7 +81,7 @@ windows:
imagename: jellyfin-builder-windows
macos:
build_function: build_macos
archivetypes: targz
archivetypes: targz,tarxz
archmaps:
amd64:
DOTNET_ARCH: x64
Expand All @@ -93,7 +93,7 @@ macos:
imagename: jellyfin-builder-macos
portable:
build_function: build_portable
archivetypes: targz,zip
archivetypes: targz,tarxz,zip
dockerfile: portable/Dockerfile
imagename: jellyfin-builder-portable

Expand Down
3 changes: 3 additions & 0 deletions portable/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ for ARCHIVE_TYPE in $( tr ',' '\n' <<<"${ARCHIVE_TYPES}" ); do
targz)
tar -czf "${ARTIFACT_DIR}"/jellyfin_${VERSION_SUFFIX}.tar.gz .
;;
tarxz)
tar -czf "${ARTIFACT_DIR}"/jellyfin_${VERSION_SUFFIX}.tar.xz .
;;
zip)
zip -qr "${ARTIFACT_DIR}"/jellyfin_${VERSION_SUFFIX}.zip .
;;
Expand Down

0 comments on commit 48c298b

Please sign in to comment.