diff --git a/.github/trdsql.template.rb b/.github/trdsql.template.rb index 8134f21..c0880f4 100644 --- a/.github/trdsql.template.rb +++ b/.github/trdsql.template.rb @@ -4,13 +4,6 @@ class Trdsql < Formula version "{{ version }}" on_macos do - if Hardware::CPU.arm? - url "{{ DARWIN_ARM64_URL }}" - sha256 "{{ DARWIN_ARM64_SHA256 }}" - def install - bin.install "trdsql" - end - end if Hardware::CPU.intel? url "{{ DARWIN_AMD64_URL }}" sha256 "{{ DARWIN_AMD64_SHA256 }}" diff --git a/.github/update-homebrew-tap.sh b/.github/update-homebrew-tap.sh index 2cfc344..ba52a6a 100644 --- a/.github/update-homebrew-tap.sh +++ b/.github/update-homebrew-tap.sh @@ -14,9 +14,9 @@ get_url_and_sha256() { echo "$url $sha256" } -darwin_arm64=$(get_url_and_sha256 "dist/trdsql_${VERSION}_darwin_arm64.zip") -darwin_arm64_url=$(echo "${darwin_arm64% *}" | sed 's/\//\\\//g') -darwin_arm64_sha256=${darwin_arm64#* } +#darwin_arm64=$(get_url_and_sha256 "dist/trdsql_${VERSION}_darwin_arm64.zip") +#darwin_arm64_url=$(echo "${darwin_arm64% *}" | sed 's/\//\\\//g') +#darwin_arm64_sha256=${darwin_arm64#* } darwin_amd64=$(get_url_and_sha256 "dist/trdsql_${VERSION}_darwin_amd64.zip") darwin_amd64_url=$(echo "${darwin_amd64% *}" | sed 's/\//\\\//g') diff --git a/README.md b/README.md index d1a5649..0e27e50 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,8 @@ Download binary from the [releases](https://github.com/noborus/trdsql/releases) brew install noborus/tap/trdsql ``` +**Note**: For ARM Macs, it is recommended to use [go get](#go-get) instead of Homebrew: [issue#197](https://github.com/noborus/trdsql/issues/197) + ### 1.4. MacPorts ```console