Skip to content

Commit

Permalink
[Build] Build tar.xz instead of tar.zst
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioislima authored and Etaash-mathamsetty committed Nov 25, 2023
1 parent eb4b411 commit a526809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fi
VKD3D_VERSION="$1"
VKD3D_SRC_DIR=$(dirname "$(readlink -f "$0")")
VKD3D_BUILD_DIR=$(realpath "$2")"/vkd3d-proton-$VKD3D_VERSION"
VKD3D_ARCHIVE_PATH=$(realpath "$2")"/vkd3d-proton-$VKD3D_VERSION.tar.zst"
VKD3D_ARCHIVE_PATH=$(realpath "$2")"/vkd3d-proton-$VKD3D_VERSION.tar.xz"

if [ -e "$VKD3D_BUILD_DIR" ]; then
echo "Build directory $VKD3D_BUILD_DIR already exists"
Expand Down Expand Up @@ -83,7 +83,7 @@ function build_script {

function package {
cd "$VKD3D_BUILD_DIR/.."
tar -caf "$VKD3D_ARCHIVE_PATH" "vkd3d-proton-$VKD3D_VERSION"
tar -cJf "$VKD3D_ARCHIVE_PATH" "vkd3d-proton-$VKD3D_VERSION"
rm -R "vkd3d-proton-$VKD3D_VERSION"
}

Expand Down

0 comments on commit a526809

Please sign in to comment.