File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 3737 run : echo "REPO_VERSION=$(python3 posthog/version.py)" >> $GITHUB_ENV
3838
3939 - name : Prepare for building release
40- run : uv sync --extra build
40+ run : uv sync --extra dev
4141
4242 - name : Push releases to PyPI
4343 run : uv run make release && uv run make release_analytics
Original file line number Diff line number Diff line change 1- ## 4.4.1 - 2025-06-07
1+ ## 4.4.1 and 4.4.2 - 2025-06-07
22
33- empty point release to fix the posthog_analytics release
44
Original file line number Diff line number Diff line change @@ -16,14 +16,16 @@ release_analytics:
1616 rm -rf posthoganalytics
1717 mkdir posthoganalytics
1818 cp -r posthog/* posthoganalytics/
19- find ./posthoganalytics -type f -not -path " */__pycache__/*" -exec sed -i ' ' -e ' s/from posthog /from posthoganalytics /g' {} \;
20- find ./posthoganalytics -type f -not -path " */__pycache__/*" -exec sed -i ' ' -e ' s/from posthog\./from posthoganalytics\./g' {} \;
19+ find ./posthoganalytics -type f -name " *.py" -exec sed -i.bak -e ' s/from posthog /from posthoganalytics /g' {} \;
20+ find ./posthoganalytics -type f -name " *.py" -exec sed -i.bak -e ' s/from posthog\./from posthoganalytics\./g' {} \;
21+ find ./posthoganalytics -name " *.bak" -delete
2122 rm -rf posthog
2223 python setup_analytics.py sdist bdist_wheel
2324 twine upload dist/*
2425 mkdir posthog
25- find ./posthoganalytics -type f -not -path " */__pycache__/*" -exec sed -i ' ' -e ' s/from posthoganalytics /from posthog /g' {} \;
26- find ./posthoganalytics -type f -not -path " */__pycache__/*" -exec sed -i ' ' -e ' s/from posthoganalytics\./from posthog\./g' {} \;
26+ find ./posthoganalytics -type f -name " *.py" -exec sed -i.bak -e ' s/from posthoganalytics /from posthog /g' {} \;
27+ find ./posthoganalytics -type f -name " *.py" -exec sed -i.bak -e ' s/from posthoganalytics\./from posthog\./g' {} \;
28+ find ./posthoganalytics -name " *.bak" -delete
2729 cp -r posthoganalytics/* posthog/
2830 rm -rf posthoganalytics
2931 rm -f pyproject.toml
Original file line number Diff line number Diff line change 1- VERSION = "4.4.1 "
1+ VERSION = "4.4.2 "
22
33if __name__ == "__main__" :
44 print (VERSION , end = "" ) # noqa: T201
Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ dev = [
5151 " pre-commit" ,
5252 " pydantic" ,
5353 " ruff" ,
54+ " setuptools" ,
55+ " packaging" ,
56+ " wheel" ,
57+ " twine" ,
5458 " tomli" ,
5559 " tomli_w" ,
5660]
@@ -72,12 +76,6 @@ test = [
7276 " pydantic" ,
7377 " parameterized>=0.8.1" ,
7478]
75- build = [
76- " setuptools" ,
77- " packaging" ,
78- " wheel" ,
79- " twine" ,
80- ]
8179
8280[tool .setuptools ]
8381packages = [
You can’t perform that action at this time.
0 commit comments