Skip to content

Commit

Permalink
fix: update to perform build via poetry (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
silentworks authored Mar 23, 2024
1 parent 5c707e9 commit d518ce5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,9 @@ jobs:
id: rename_project
run: make rename_project

- name: Python Semantic Release
id: release
uses: python-semantic-release/python-semantic-release@v9.3.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build package distribution directory
id: build_dist
run: make build_package

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ rename_package_dir:
mv supabase_functions supafunc

rename_package:
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
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

build_package:
poetry build

0 comments on commit d518ce5

Please sign in to comment.