diff --git a/.github/workflows/renovate-verify.yml b/.github/workflows/renovate-verify.yml index 39fef53..d27c56e 100644 --- a/.github/workflows/renovate-verify.yml +++ b/.github/workflows/renovate-verify.yml @@ -47,12 +47,12 @@ jobs: key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} restore-keys: ${{ runner.os }}-rubygems- - - name: Install qv - if: steps.formula-changes.outputs.qv == 'true' + - name: Install qv (mac only) + if: steps.formula-changes.outputs.qv == 'true' && matrix.os == 'macos-15' run: brew install --build-bottle timvw/tap/qv - - name: Test qv - if: steps.formula-changes.outputs.qv == 'true' + - name: Test qv (mac only) + if: steps.formula-changes.outputs.qv == 'true' && matrix.os == 'macos-15' run: | brew test timvw/tap/qv brew audit --strict timvw/tap/qv diff --git a/Formula/qv.rb b/Formula/qv.rb index 4f090a8..c968f16 100644 --- a/Formula/qv.rb +++ b/Formula/qv.rb @@ -1,17 +1,24 @@ class Qv < Formula desc "Quickly view your data" homepage "https://github.com/timvw/qv" - url "https://github.com/timvw/qv/releases/download/v0.9.6/qv-0.9.6-macos-arm64.tar.gz" - sha256 "9443fa4623439bda45ab3d5614907b6a9f48908dc8c27409196c6929aadd9b01" + + if Hardware::CPU.arm? + url "https://github.com/timvw/qv/releases/download/v0.9.14/qv-aarch64-apple-darwin.tar.gz" + sha256 "663ce40c3a4e68a6b4feef93d919534c22922cc352588129c49e816a00359b4d" + else + url "https://github.com/timvw/qv/releases/download/v0.9.14/qv-x86_64-apple-darwin.tar.gz" + sha256 "26a19254960b934a9430f3830df64400de98f25e2a669b1e3bfad09a32176f76" + end license "Apache-2.0" + version_scheme 1 head "https://github.com/timvw/qv.git", branch: "main" depends_on :macos def install - bin.install "qv-universal-macos" => "qv" + bin.install "qv" doc.install "README.md" if File.exist?("README.md") - (share/"licenses"/name).install "LICENSE" + (share/"licenses"/name).install "LICENSE" if File.exist?("LICENSE") end test do