diff --git a/.github/workflows/release-edge.yml b/.github/workflows/release-edge.yml index 3560b6c..6147646 100644 --- a/.github/workflows/release-edge.yml +++ b/.github/workflows/release-edge.yml @@ -41,8 +41,6 @@ jobs: include: - runner: ubuntu-latest asset_name: omnigraph-linux-x86_64 - - runner: macos-15-intel - asset_name: omnigraph-macos-x86_64 - runner: macos-14 asset_name: omnigraph-macos-arm64 env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d08b25a..e7fc75f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,8 +18,6 @@ jobs: include: - runner: ubuntu-latest asset_name: omnigraph-linux-x86_64 - - runner: macos-15-intel - asset_name: omnigraph-macos-x86_64 - runner: macos-14 asset_name: omnigraph-macos-arm64 env: diff --git a/scripts/install.sh b/scripts/install.sh index 0269767..d1f8bf9 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -35,9 +35,6 @@ platform_asset_name() { Linux/x86_64) printf 'omnigraph-linux-x86_64.tar.gz\n' ;; - Darwin/x86_64) - printf 'omnigraph-macos-x86_64.tar.gz\n' - ;; Darwin/arm64) printf 'omnigraph-macos-arm64.tar.gz\n' ;; diff --git a/scripts/update-homebrew-formula.sh b/scripts/update-homebrew-formula.sh index b3cf6c5..6b3984c 100755 --- a/scripts/update-homebrew-formula.sh +++ b/scripts/update-homebrew-formula.sh @@ -46,14 +46,12 @@ VERSION="${TAG#v}" RELEASE_JSON="$(gh release view "$TAG" --repo "$REPO_SLUG" --json assets)" MACOS_ARM_URL="https://github.com/${REPO_SLUG}/releases/download/${TAG}/omnigraph-macos-arm64.tar.gz" -MACOS_X86_URL="https://github.com/${REPO_SLUG}/releases/download/${TAG}/omnigraph-macos-x86_64.tar.gz" LINUX_X86_URL="https://github.com/${REPO_SLUG}/releases/download/${TAG}/omnigraph-linux-x86_64.tar.gz" MACOS_ARM_SHA="$(asset_digest "$RELEASE_JSON" "omnigraph-macos-arm64.tar.gz")" -MACOS_X86_SHA="$(asset_digest "$RELEASE_JSON" "omnigraph-macos-x86_64.tar.gz")" LINUX_X86_SHA="$(asset_digest "$RELEASE_JSON" "omnigraph-linux-x86_64.tar.gz")" -for value in "$MACOS_ARM_SHA" "$MACOS_X86_SHA" "$LINUX_X86_SHA"; do +for value in "$MACOS_ARM_SHA" "$LINUX_X86_SHA"; do if [[ -z "$value" ]]; then printf 'error: failed to resolve one or more release asset digests for %s\n' "$TAG" >&2 exit 1 @@ -70,13 +68,9 @@ class Omnigraph < Formula version "${VERSION}" on_macos do - if Hardware::CPU.arm? - url "${MACOS_ARM_URL}" - sha256 "${MACOS_ARM_SHA}" - else - url "${MACOS_X86_URL}" - sha256 "${MACOS_X86_SHA}" - end + depends_on arch: :arm64 + url "${MACOS_ARM_URL}" + sha256 "${MACOS_ARM_SHA}" end on_linux do