Skip to content

Commit

Permalink
document how to release new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bddap committed May 9, 2023
1 parent a5c1289 commit 03397b0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
publish:
# https://realpython.com/pypi-publish-python-package/
# assert there are no uncommitted changes
git diff-index --quiet HEAD
# assert we are on main
git branch --show-current | grep '^main$'
# remove any previous builds
rm -rf dist rdkit-stubs.egg-info
# build
pyproject-build # pipx install build
# upload
twine upload dist/* # pipx install twine

0 comments on commit 03397b0

Please sign in to comment.