Skip to content

Commit

Permalink
Edit readme
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlk committed Oct 3, 2024
1 parent 61c4104 commit b70f5d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,16 @@ source-dists:

download-dists:
# e.g. `make download-dists ID=8`
# ID is run id (get from url)
# ID is run id (get from url. Not Job ID)
# Need gh installed. `brew install gh`
rm -r artifact
rm -r artifact || true
gh run download $(ID)

check-dist:
twine check artifact/*
twine check dist/*

test-pypi:
twine upload --repository-url https://test.pypi.org/legacy/ artifact/*
twine upload --repository-url https://test.pypi.org/legacy/ dist/*

pypi-upload:
twine upload artifact/*
twine upload dist/*
twine upload artifact/*
2 changes: 1 addition & 1 deletion README_dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ bump2version patch
make download-dists ID=$BUILD_ID
```

5. Upload to test PyPi
5. Upload to test PyPi (you can get PyPI API token in password manager)

```shell script
make check-dist
Expand Down

0 comments on commit b70f5d9

Please sign in to comment.