From 4f098281ec297711d8a18b353bc4972038523a04 Mon Sep 17 00:00:00 2001 From: matyalatte Date: Fri, 13 Dec 2024 01:09:19 +0900 Subject: [PATCH] use tar.xz for unix packages --- .github/workflows/build_all.yml | 8 ++++---- docs/Github-Actions.md | 2 +- docs/README.md | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 99fe21f9..24851d94 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -66,7 +66,7 @@ jobs: arch_suffix: 10-x64 - os: macos-14 exe_ext: "" - zip_ext: tar.bz2 + zip_ext: tar.xz arch: "" arch_suffix: "" @@ -124,7 +124,7 @@ jobs: if: runner.os != 'Windows' run: | cd archive - tar -jcvf ${{ env.TOOL_NAME }}-${{ needs.setup.outputs.tag }}-${{ runner.os }}${{ matrix.arch_suffix }}.${{ matrix.zip_ext }} ${{ env.TOOL_NAME }} + tar -Jcvf ${{ env.TOOL_NAME }}-${{ needs.setup.outputs.tag }}-${{ runner.os }}${{ matrix.arch_suffix }}.${{ matrix.zip_ext }} ${{ env.TOOL_NAME }} - name: Upload Release Asset env: @@ -174,10 +174,10 @@ jobs: - name: Archive release for Unix run: | cd archive - tar -jcvf ${{ env.TOOL_NAME }}-${{ needs.setup.outputs.tag }}-${{ runner.os }}-${{ matrix.arch }}.tar.bz2 ${{ env.TOOL_NAME }} + tar -Jcvf ${{ env.TOOL_NAME }}-${{ needs.setup.outputs.tag }}-${{ runner.os }}-${{ matrix.arch }}.tar.xz ${{ env.TOOL_NAME }} - name: Upload Release Asset env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh release upload ${{ needs.setup.outputs.tag }} archive/${{ env.TOOL_NAME }}-${{ needs.setup.outputs.tag }}-${{ runner.os }}-${{ matrix.arch }}.tar.bz2 + gh release upload ${{ needs.setup.outputs.tag }} archive/${{ env.TOOL_NAME }}-${{ needs.setup.outputs.tag }}-${{ runner.os }}-${{ matrix.arch }}.tar.xz diff --git a/docs/Github-Actions.md b/docs/Github-Actions.md index 8bd6afd5..0eaff67b 100644 --- a/docs/Github-Actions.md +++ b/docs/Github-Actions.md @@ -44,6 +44,6 @@ Github will upload a zip file on the release page. ## 10. Download zip -Download `Tuw*.zip` or `*.tar.bz2`. +Download `Tuw*.zip` or `*.tar.xz`. diff --git a/docs/README.md b/docs/README.md index f05010de..b48e517e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -41,8 +41,8 @@ You can download executables from [the release page](https://github.com/matyalat - `Tuw-*-Windows-*.zip` is for Windows (7 or later.) - `Tuw-*-Windows10-*.zip` requires Windows 10 or later, but it's much smaller than the standard version. -- `Tuw-*-macOS.tar.bz2` is for macOS (10.9 or later.) -- `Tuw-*-Linux-*.tar.bz2` is for Linux (with GTK3.14, GLIBC2.15, and GLIBCXX3.4.21, or later versions of the libraries.) +- `Tuw-*-macOS.tar.xz` is for macOS (10.9 or later.) +- `Tuw-*-Linux-*.tar.xz` is for Linux (with GTK3.14, GLIBC2.15, and GLIBCXX3.4.21, or later versions of the libraries.) > [!Note] > Tuw also supports [Linux distributions using musl](https://github.com/matyalatte/tuw/blob/main/docs/Build-on-Linux.md) and [other Unix-like systems (BSD, Haiku, illumos, etc.)](https://github.com/matyalatte/Tuw/blob/main/docs/Build-on-Other.md). While there is no release package available for these systems, you can build Tuw from the source code.