From 8d467d278c15fe3f3d0c9f65a120af80cd10f696 Mon Sep 17 00:00:00 2001 From: Michael Matloka Date: Wed, 14 Feb 2024 18:27:37 +0100 Subject: [PATCH] fix: Fix baked-in commit SHA bis (#20348) --- posthog/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/git.py b/posthog/git.py index 1655a491965e4..501b648ca3e9c 100644 --- a/posthog/git.py +++ b/posthog/git.py @@ -6,7 +6,7 @@ # Docker containers should have a commit.txt file in the base directory with the git # commit hash used to generate them. with open("commit.txt") as f: - _git_commit_baked_in = f.read() + _git_commit_baked_in = f.read().strip() except FileNotFoundError: pass