-
Notifications
You must be signed in to change notification settings - Fork 2
Release Process
Deven Bansod edited this page Nov 18, 2018
·
1 revision
We try to follow a semantic versioning philosophy while deciding the release version numbers for pcap_to_ditg
-
Once the code is ready for release, open
setup.py
and update the version number (for ex.X.Y.Z
) -
Commit the change with a commit message indicating the release and push it to remote:
git commit -asm "vX.Y.Z"
git push origin master
- Tag this commit with the version number and push the tag to remote
git tag vX.Y.Z
git push origin tag vX.Y.Z
- Now, the tag would start to appear on Github. Use the tag to draft a new release. You can use the following command to get the well-formatted list of changes between the latest and the previous tag:
git log --pretty=oneline vU.V.W..vX.Y.Z
This list could be put in the description for the release to communicate the list of changes.
- Ready the
.tar.gz
and.whl
for publishing the release on pypi
python setup.py sdist bdist_wheel
- Upload the new release to official pypi repository
python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*