Skip to content

Commit

Permalink
docs: update release steps to include removing 'build' dir
Browse files Browse the repository at this point in the history
If this isn't clobbered, the binary wheels can contain files that have
been removed.
  • Loading branch information
ahal committed Aug 30, 2023
1 parent 0717342 commit a9cf386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ In order to release a new version of Taskgraph, you will need permission to the
5. Checkout the latest public revision ``git checkout main``
6. Pull latest revision ``git pull upstream main``
7. Verify ``git show`` outputs the desired revision
8. Remove previously packaged releases ``rm -rf ./dist/*``
8. Remove previously packaged releases and build cache ``rm -rf build dist``
9. Package the app ``python setup.py sdist bdist_wheel``
10. Tag and push: ``git tag -s -m "taskgraph $version" $version && git push upstream $version``
11. Upload to PyPI using `twine`_ ``twine upload dist/*`` providing your
Expand Down

0 comments on commit a9cf386

Please sign in to comment.