From 7fac008cdc255ee51415bcd6a213f333ef99cf2b Mon Sep 17 00:00:00 2001 From: Rafa Audibert Date: Fri, 6 Feb 2026 14:54:08 -0300 Subject: [PATCH 1/2] fix: Fix posthog-rails deployment We gotta build it from inside the posthog-rails folder rather than the root folder or else we'll just package the main lib folder (because of the `Glob.dir` call) --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3fa5d78..d7a51ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -109,15 +109,16 @@ jobs: - name: Wait for posthog-ruby to be available run: gem exec rubygems-await posthog-ruby-*.gem - # Build and publish posthog-rails + # Build and publish posthog-rails (must build from its directory so Dir.glob resolves correctly) - name: Build posthog-rails - run: gem build posthog-rails/posthog-rails.gemspec + run: gem build posthog-rails.gemspec + working-directory: posthog-rails - name: Publish posthog-rails - run: gem push posthog-rails-*.gem + run: gem push posthog-rails/posthog-rails-*.gem - name: Wait for posthog-rails to be available - run: gem exec rubygems-await posthog-rails-*.gem + run: gem exec rubygems-await posthog-rails/posthog-rails-*.gem # Create and push git tag - name: Create git tag From 3fec211e055517a51af796ee95e795ea732303d7 Mon Sep 17 00:00:00 2001 From: Rafa Audibert Date: Fri, 6 Feb 2026 14:55:15 -0300 Subject: [PATCH 2/2] chore: Bump to v3.5.1 --- CHANGELOG.md | 4 ++++ lib/posthog/version.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae083de..86e1e68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.5.1 - 2026-02-06 + +1. Fix `posthog-rails` deployment + ## 3.5.0 - 2026-02-05 1. feat: Add posthog-rails gem for automatic Rails exception tracking diff --git a/lib/posthog/version.rb b/lib/posthog/version.rb index 5a4b6c8..8f1d8d1 100644 --- a/lib/posthog/version.rb +++ b/lib/posthog/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module PostHog - VERSION = '3.5.0' + VERSION = '3.5.1' end