git.iko.soy/parseable-macos
on master help sign in
Add Homebrew cask update to CI and install instructions to README
commita5079e2540faa1ad36eb6e706f200a6edcdb3062 authoriko <mail@iko.soy> dateSun 15 Feb 2026, 15:45 (8 months ago) parentdb9e984
2 files changed+41−1
.github/workflows/build.yml+34 README.md+7−1
.github/workflows/build.yml+34
@@ -164,6 +164,40 @@ jobs:
164164 env:
165165 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
166166
167+ - name: Update Homebrew cask
168+ env:
169+ HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
170+ run: |
171+ SHA_ARM64=$(shasum -a 256 artifacts/ParseableViewer-arm64/ParseableViewer-arm64.zip | awk '{print $1}')
172+ SHA_X86_64=$(shasum -a 256 artifacts/ParseableViewer-x86_64/ParseableViewer-x86_64.zip | awk '{print $1}')
173+ SHORT_SHA="${GITHUB_SHA::7}"
174+
175+ cat > /tmp/parseable-viewer.rb << CASK
176+ cask "parseable-viewer" do
177+ arch arm: "arm64", intel: "x86_64"
178+
179+ version "$SHORT_SHA"
180+ sha256 arm: "$SHA_ARM64", intel: "$SHA_X86_64"
181+
182+ url "https://github.com/ilyakooo0/parseable-macos/releases/download/latest/ParseableViewer-#{arch}.zip"
183+ name "Parseable Viewer"
184+ desc "A macOS client for Parseable"
185+ homepage "https://github.com/ilyakooo0/parseable-macos"
186+
187+ app "Parseable Viewer.app"
188+ end
189+ CASK
190+
191+ # Push updated cask to homebrew-tap
192+ cd "$(mktemp -d)"
193+ git clone "https://x-access-token:${HOMEBREW_TAP_TOKEN}@github.com/ilyakooo0/homebrew-tap.git" .
194+ cp /tmp/parseable-viewer.rb Casks/parseable-viewer.rb
195+ git config user.name "github-actions[bot]"
196+ git config user.email "github-actions[bot]@users.noreply.github.com"
197+ git add Casks/parseable-viewer.rb
198+ git commit -m "Update parseable-viewer to ${SHORT_SHA}"
199+ git push
200+
167201 release:
168202 needs: create-universal
169203 runs-on: macos-15
README.md+7−1
@@ -15,13 +15,19 @@ Browse log streams, run SQL queries, tail logs in real time, and inspect server
1515- **Alerts & Users** — View configured alert rules and user accounts on the connected server
1616- **Server Info** — Health status, version, deployment mode, storage backend, and update availability at a glance
1717
18+## Install
19+
20+```bash
21+brew install ilyakooo0/tap/parseable-viewer
22+```
23+
1824## Requirements
1925
2026- macOS 14.0+ (Sonoma)
2127- Xcode 16+
2228- [XcodeGen](https://github.com/yonaskolb/XcodeGen)
2329
24−## Build
30+## Build from source
2531
2632```bash
2733# Install XcodeGen (one-time)