From 6d27b71483457ccbf1260536d0ca42c193d25e04 Mon Sep 17 00:00:00 2001 From: Serhii Bykov Date: Sun, 20 Sep 2026 13:26:56 +0200 Subject: [PATCH] chore(release): remove Homebrew tap automation --- .github/workflows/release.yml | 65 ----------------------------------- Docs/RELEASING.md | 8 +---- 2 files changed, 1 insertion(+), 72 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 514d2825..1cf9b9d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -103,71 +103,6 @@ jobs: path: dist/ if-no-files-found: error - update-homebrew-tap: - if: ${{ !endsWith(github.ref_name, '-test') }} - runs-on: ubuntu-latest - needs: release - env: - HOMEBREW_TAP_DISPATCH_TOKEN: ${{ secrets.HOMEBREW_TAP_DISPATCH_TOKEN }} - - steps: - - name: Download release artifacts - uses: actions/download-artifact@v4 - with: - name: appcast-artifacts - path: dist - - - name: Resolve release payload - id: release - shell: bash - run: | - set -euo pipefail - - version="${GITHUB_REF_NAME#v}" - tag="${GITHUB_REF_NAME}" - dmg_path="dist/Keyty.dmg" - - if [[ ! -f "$dmg_path" ]]; then - echo "missing release artifact: $dmg_path" >&2 - exit 1 - fi - - sha256="$(sha256sum "$dmg_path" | awk '{print $1}')" - dmg_url="https://github.com/${GITHUB_REPOSITORY}/releases/download/${tag}/Keyty.dmg" - - { - echo "version=$version" - echo "tag=$tag" - echo "dmg_url=$dmg_url" - echo "sha256=$sha256" - } >> "$GITHUB_OUTPUT" - - - name: Dispatch Homebrew tap update - if: ${{ env.HOMEBREW_TAP_DISPATCH_TOKEN != '' }} - env: - GH_TOKEN: ${{ env.HOMEBREW_TAP_DISPATCH_TOKEN }} - shell: bash - run: | - set -euo pipefail - - gh api repos/keytyapp/homebrew-tap/dispatches \ - --method POST \ - --input - <