From c49d535996448aee84bd0a920bc933544ef18d95 Mon Sep 17 00:00:00 2001 From: Hannes Hapke Date: Fri, 29 May 2026 18:47:08 -0700 Subject: [PATCH 1/3] fix: publish Homebrew cask on first release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The publish-homebrew-tap step renders the cask to a new file, then runs `git diff --quiet -- Casks/kiji-privacy-proxy.rb` to decide whether to commit. That check only inspects tracked files, so on the very first publish (empty tap) it sees no change to a known file, reports "nothing to commit", and exits 0 without ever adding/committing/pushing — leaving dataiku/homebrew-tap with only its README. Every release since the homebrew job was added has silently no-op'd. Stage the file first, then check `git diff --cached --quiet`, which detects brand-new files as well as modifications. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79e8d2d2..8d9c519d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -396,11 +396,16 @@ jobs: git config user.name "${APP_SLUG}[bot]" git config user.email "${APP_SLUG}[bot]@users.noreply.github.com" - if git diff --quiet -- Casks/kiji-privacy-proxy.rb; then + # Stage first, then compare the index against HEAD. `git diff --quiet + # -- ` ignores untracked files, so on the first publish (when + # the cask does not yet exist in the tap) it would wrongly report + # "nothing to commit" and never push. `git diff --cached --quiet` + # detects both brand-new and modified files. + git add Casks/kiji-privacy-proxy.rb + if git diff --cached --quiet; then echo "::notice::Cask already at ${VERSION}, nothing to commit." exit 0 fi - git add Casks/kiji-privacy-proxy.rb git commit -m "kiji-privacy-proxy ${VERSION}" git push origin HEAD:main From 55002ca6647e87adc88e4c26576a195ba38c8b7d Mon Sep 17 00:00:00 2001 From: Hannes Hapke Date: Fri, 29 May 2026 18:50:36 -0700 Subject: [PATCH 2/3] docs: add Homebrew install instructions Document `brew install --cask dataiku/tap/kiji-privacy-proxy` as the recommended macOS install path in the README quick start, the getting-started guide, and the generated GitHub Release notes, alongside the existing manual DMG download. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/release.yml | 7 ++++++- README.md | 11 ++++++++--- docs/01-getting-started.md | 10 ++++++++++ 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d9c519d..1d21f475 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -127,7 +127,12 @@ jobs: ### macOS Installation - **Quick Start:** + **Homebrew (recommended):** + ```bash + brew install --cask dataiku/tap/kiji-privacy-proxy + ``` + + **Or download manually:** 1. Download `Kiji-Privacy-Proxy-${{ steps.version.outputs.version }}.dmg` 2. Open the DMG and drag to Applications 3. Launch "Kiji Privacy Proxy" diff --git a/README.md b/README.md index 58433237..36eec053 100644 --- a/README.md +++ b/README.md @@ -65,11 +65,16 @@ When using AI services like OpenAI or Anthropic, sensitive data in your prompts ### For Users **macOS (Desktop App):** + +Homebrew (recommended): ```bash -# Download from releases -# https://github.com/dataiku/kiji-proxy/releases +brew install --cask dataiku/tap/kiji-privacy-proxy +``` -# Install +Or download manually: +```bash +# Download the latest DMG from +# https://github.com/dataiku/kiji-proxy/releases open Kiji-Privacy-Proxy-*.dmg # Drag to Applications folder ``` diff --git a/docs/01-getting-started.md b/docs/01-getting-started.md index 673a4e26..1e3e3518 100644 --- a/docs/01-getting-started.md +++ b/docs/01-getting-started.md @@ -55,6 +55,16 @@ The backend supports two proxy modes that can run simultaneously: ### macOS (Desktop App) +**Homebrew (recommended):** + +```bash +brew install --cask dataiku/tap/kiji-privacy-proxy +``` + +Upgrade later with `brew upgrade --cask kiji-privacy-proxy`. + +**Manual download:** + 1. Download the latest DMG from [Releases](https://github.com/dataiku/kiji-proxy/releases) 2. Open the DMG file 3. Drag "Kiji Privacy Proxy" to Applications From 14630a6128592140edc5e88b4312c286c73ee598 Mon Sep 17 00:00:00 2001 From: Hannes Hapke Date: Fri, 29 May 2026 18:52:06 -0700 Subject: [PATCH 3/3] added release --- .changeset/upset-clubs-yawn.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/upset-clubs-yawn.md diff --git a/.changeset/upset-clubs-yawn.md b/.changeset/upset-clubs-yawn.md new file mode 100644 index 00000000..c76dfefc --- /dev/null +++ b/.changeset/upset-clubs-yawn.md @@ -0,0 +1,5 @@ +--- +"kiji-privacy-proxy": patch +--- + +Fixed homebrew release