From 875bd11bdb9fe7f8ed2273e711630cbcc1d427a9 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Tue, 10 Mar 2026 02:02:15 +0300 Subject: [PATCH] ci: macos universal release name --- .forgejo/workflows/release.yaml | 8 ++++---- .github/download_release.sh | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml index de7b624..5080c5a 100644 --- a/.forgejo/workflows/release.yaml +++ b/.forgejo/workflows/release.yaml @@ -331,11 +331,11 @@ jobs: - name: Archive Universal working-directory: macos run: | - zip -r grim-${{ needs.version.outputs.v }}-macos.zip Grim.app - mv grim-${{ needs.version.outputs.v }}-macos.zip ../release + zip -r grim-${{ needs.version.outputs.v }}-macos-universal.zip Grim.app + mv grim-${{ needs.version.outputs.v }}-macos-universal.zip ../release - name: Checksum Release Universal working-directory: release - run: sha256sum grim-${{ needs.version.outputs.v }}-macos.zip > grim-${{ needs.version.outputs.v }}-macos-sha256sum.txt + run: sha256sum grim-${{ needs.version.outputs.v }}-macos-universal.zip > grim-${{ needs.version.outputs.v }}-macos-universal-sha256sum.txt - name: Upload artifacts run: | tar -czf macos.tar.gz release @@ -432,6 +432,6 @@ jobs: release/grim-${{ needs.version.outputs.v }}-android-x86_64.apk release/grim-${{ needs.version.outputs.v }}-linux-arm.AppImage release/grim-${{ needs.version.outputs.v }}-linux-x86_64.AppImage - release/grim-${{ needs.version.outputs.v }}-macos.zip + release/grim-${{ needs.version.outputs.v }}-macos-universal.zip release/grim-${{ needs.version.outputs.v }}-win-x86_64.msi release/grim-${{ needs.version.outputs.v }}-win-x86_64.zip \ No newline at end of file diff --git a/.github/download_release.sh b/.github/download_release.sh index 705cc6e..5180745 100644 --- a/.github/download_release.sh +++ b/.github/download_release.sh @@ -5,7 +5,7 @@ REPO_NAME=$1 TAG=$2 DOWNLOAD_URL=${HOST}/${REPO_NAME}/releases/download/${TAG} -FILES=( "grim-${TAG}-android.apk" "grim-${TAG}-android-x86_64.apk" "grim-${TAG}-linux-arm.AppImage" "grim-${TAG}-linux-x86_64.AppImage" "grim-${TAG}-macos.zip" "grim-${TAG}-win-x86_64.msi" "grim-${TAG}-win-x86_64.zip" ) +FILES=( "grim-${TAG}-android.apk" "grim-${TAG}-android-x86_64.apk" "grim-${TAG}-linux-arm.AppImage" "grim-${TAG}-linux-x86_64.AppImage" "grim-${TAG}-macos-universal.zip" "grim-${TAG}-win-x86_64.msi" "grim-${TAG}-win-x86_64.zip" ) # Download release files for f in "${FILES[@]}"; do diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 97cd64d..b5aa95c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,6 @@ jobs: grim-${{ github.ref_name }}-android-x86_64.apk grim-${{ github.ref_name }}-linux-arm.AppImage grim-${{ github.ref_name }}-linux-x86_64.AppImage - grim-${{ github.ref_name }}-macos.zip + grim-${{ github.ref_name }}-macos-universal.zip grim-${{ github.ref_name }}-win-x86_64.msi grim-${{ github.ref_name }}-win-x86_64.zip \ No newline at end of file