aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-03-03 01:47:02 -0500
committerJoshua M. Boniface <joshua@boniface.me>2024-03-03 01:47:02 -0500
commit48c298bc267bdcc073c0bf568dc65eba13487856 (patch)
tree08ebae69badc43ae2e0f0f1d0f69dcc37f8dd8a6
parentFix another bad variable reference (diff)
downloadjellyfin-packaging-48c298bc267bdcc073c0bf568dc65eba13487856.tar.gz
jellyfin-packaging-48c298bc267bdcc073c0bf568dc65eba13487856.tar.bz2
jellyfin-packaging-48c298bc267bdcc073c0bf568dc65eba13487856.zip
Add tar.xz archives
-rw-r--r--build.yaml6
-rwxr-xr-xportable/build.sh3
2 files changed, 6 insertions, 3 deletions
diff --git a/build.yaml b/build.yaml
index bdf2599..e614c3c 100644
--- a/build.yaml
+++ b/build.yaml
@@ -48,7 +48,7 @@ fedora:
# Portable archives
linux:
build_function: build_linux
- archivetypes: targz
+ archivetypes: targz,tarxz
archmaps:
amd64:
DOTNET_ARCH: x64
@@ -81,7 +81,7 @@ windows:
imagename: jellyfin-builder-windows
macos:
build_function: build_macos
- archivetypes: targz
+ archivetypes: targz,tarxz
archmaps:
amd64:
DOTNET_ARCH: x64
@@ -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
diff --git a/portable/build.sh b/portable/build.sh
index 9259800..e5cc731 100755
--- a/portable/build.sh
+++ b/portable/build.sh
@@ -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 .
;;
bgstack15