Skip to content

Commit

Permalink
Added support for sdist (#86)
Browse files Browse the repository at this point in the history
Add sdist artifact to Makefile dist and github release action
  • Loading branch information
JohnJDyer authored May 3, 2023
1 parent 93124c6 commit dd665d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ jobs:
draft: true
files: |
dist/databricks-*.whl
dist/databricks-*.tar.gz
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
password: ${{ secrets.PYPI_TOKEN }}
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ coverage: test
open htmlcov/index.html

dist:
python3 setup.py bdist_wheel
python3 setup.py bdist_wheel sdist

clean:
rm -fr dist *.egg-info .pytest_cache build htmlcov
rm -fr dist *.egg-info .pytest_cache build htmlcov

0 comments on commit dd665d6

Please sign in to comment.