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 Dec 30, 2023
1 parent 105b5b7 commit 43fd18e
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 43fd18e

Please sign in to comment.