Skip to content

Commit bf0d7ef

Browse files
authored
fix: makefile import (#254)
1 parent f17ebfa commit bf0d7ef

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 4.6.1 - 2025-06-09
2+
3+
- fix: replace `import posthog` in `posthoganalytics` package
4+
15
## 4.6.0 - 2025-06-09
26

37
- feat: add additional user and request context to captured exceptions via the Django integration

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ release_analytics:
1818
cp -r posthog/* posthoganalytics/
1919
find ./posthoganalytics -type f -name "*.py" -exec sed -i.bak -e 's/from posthog /from posthoganalytics /g' {} \;
2020
find ./posthoganalytics -type f -name "*.py" -exec sed -i.bak -e 's/from posthog\./from posthoganalytics\./g' {} \;
21+
find ./posthoganalytics -type f -name "*.py" -exec sed -i.bak -e 's/import posthog/import posthoganalytics/g' {} \;
2122
find ./posthoganalytics -name "*.bak" -delete
2223
rm -rf posthog
2324
python setup_analytics.py sdist bdist_wheel
2425
twine upload dist/*
2526
mkdir posthog
2627
find ./posthoganalytics -type f -name "*.py" -exec sed -i.bak -e 's/from posthoganalytics /from posthog /g' {} \;
2728
find ./posthoganalytics -type f -name "*.py" -exec sed -i.bak -e 's/from posthoganalytics\./from posthog\./g' {} \;
29+
find ./posthoganalytics -type f -name "*.py" -exec sed -i.bak -e 's/import posthoganalytics/import posthog/g' {} \;
2830
find ./posthoganalytics -name "*.bak" -delete
2931
cp -r posthoganalytics/* posthog/
3032
rm -rf posthoganalytics

posthog/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = "4.6.0"
1+
VERSION = "4.6.1"
22

33
if __name__ == "__main__":
44
print(VERSION, end="") # noqa: T201

0 commit comments

Comments
 (0)