diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d79cf8ef..868f2980 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -39,7 +39,7 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: /tmp/kime/kime.7z asset_name: kime-${{ steps.version.outputs.ver }}.7z - asset_content_type: application/x-7z-compressed + asset_content_type: application/x-xz - name: Upload deb package uses: actions/upload-release-asset@v1 diff --git a/ci/build_release.sh b/ci/build_release.sh index f4a0b87d..a1a64df7 100644 --- a/ci/build_release.sh +++ b/ci/build_release.sh @@ -1,5 +1,5 @@ #!/bin/bash cargo xtask build XIM WAYLAND GTK2 GTK3 GTK4 QT5 QT6 -7z a /opt/kime-out/kime.7z ./build/out/* +tar cvf - -C ./build/out . | xz -9 -T0 -c - > /opt/kime-out/kime.tar.xz cargo xtask release-deb /opt/kime-out diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 61839f2d..f7759024 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,6 +2,7 @@ ## Dev +* Change release .tar.xz [#204](https://github.com/Riey/kime/issues/204) * Support ALT modifier [#190](https://github.com/Riey/kime/issues/190) * Fix wayland doesn't close fd well [#194](https://github.com/Riey/kime/issues/194) * Using xim sync mode [49d0ef3e](https://github.com/Riey/kime/commit/49d0ef3e0b473378881a396f394db09bff0d2a81)