Skip to content

Commit d518ce5

Browse files
authored
fix: update to perform build via poetry (#70)
1 parent 5c707e9 commit d518ce5

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,9 @@ jobs:
9494
id: rename_project
9595
run: make rename_project
9696

97-
- name: Python Semantic Release
98-
id: release
99-
uses: python-semantic-release/[email protected]
100-
with:
101-
github_token: ${{ secrets.GITHUB_TOKEN }}
97+
- name: Build package distribution directory
98+
id: build_dist
99+
run: make build_package
102100

103101
- name: Publish package distributions to PyPI
104102
uses: pypa/gh-action-pypi-publish@release/v1

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@ rename_package_dir:
2424
mv supabase_functions supafunc
2525

2626
rename_package:
27-
sed -i 's/supabase_functions/supafunc/g' pyproject.toml tests/_async/clients.py tests/_sync/clients.py tests/_async/test_function_client.py tests/_sync/test_function_client.py
27+
sed -i 's/supabase_functions/supafunc/g' pyproject.toml tests/_async/clients.py tests/_sync/clients.py tests/_async/test_function_client.py tests/_sync/test_function_client.py README.md
28+
29+
build_package:
30+
poetry build

0 commit comments

Comments
 (0)