Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Z3R0-CDS/NFC_UID
Browse files Browse the repository at this point in the history
  • Loading branch information
Z3R0-CDS committed Sep 12, 2023
2 parents 8e8da92 + c89d492 commit d7aba4c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/pypi-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,25 @@ jobs:
- name: Build package
run: python -m build

- name: Publish package to PyPI
run: python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
env:
TWINE_USERNAME: ${{ secrets.PYPI_USER }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

- name: Include README in distribution
run: |
cp README.md dist/
- name: Show repo
run: |
ls
ls dist/
- name: Include main.py in distribution
run: cp main.py dist/

- name: Publish package to PyPI
run: python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
env:
TWINE_USERNAME: ${{ secrets.PYPI_USER }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

- name: Show repo
run: |
ls
ls dist/
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = nfc_uid
version = 0.4.1
version = 0.4.3
description = Get UUID of NFC card with a scanner.
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit d7aba4c

Please sign in to comment.