Skip to content

Commit

Permalink
Add notes about publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
epicserve committed Dec 4, 2023
1 parent b567fea commit 885a81c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions scripts/create_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,28 @@ def publish():


if __name__ == "__main__":
"""
TODO: This script needs fixed. You can run it, but you'll have to commit manually
and push the tag and commit.
Then you can run the following:
# Install requirements
python -m pip install build twine
# Build
python -m build
# Check build
twine check dist/*
# Test upload
twine upload -r testpypi dist/*
# Upload
twine upload dist/*
"""

# change working directory so you can run this script from the project root or in the same directory as the file.
parent_dir = Path(os.path.realpath(os.path.dirname(__file__))).parent
os.chdir(parent_dir)
Expand Down

0 comments on commit 885a81c

Please sign in to comment.