File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed 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 @@ -77,6 +77,8 @@ build = [
7777 " packaging" ,
7878 " wheel" ,
7979 " twine" ,
80+ " tomli" ,
81+ " tomli_w" ,
8082]
8183
8284[tool .setuptools ]
You can’t perform that action at this time.
0 commit comments