Skip to content

Commit 7eb0b41

Browse files
authoredDec 2, 2024··
Attempt using hatch publish command (#264)
1 parent 714191f commit 7eb0b41

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed
 

‎.github/workflows/publish-py.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ jobs:
2121
python-version: "3.x"
2222
- name: Install dependencies
2323
run: pip install --upgrade pip hatch uv
24-
- name: Build and publish
24+
- name: Build Package
25+
run: hatch build --clean
26+
- name: Publish to PyPI
2527
env:
26-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
27-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
28-
run: |
29-
hatch build --clean
30-
twine upload dist/*
28+
HATCH_INDEX_USER: ${{ secrets.PYPI_USERNAME }}
29+
HATCH_INDEX_AUTH: ${{ secrets.PYPI_PASSWORD }}
30+
HATCH_INDEX_REPO: reactpy-django
31+
run: hatch publish --yes

0 commit comments

Comments
 (0)
Please sign in to comment.