HACKING: add more detailed instructions

This commit is contained in:
Johannes 'josch' Schauer 2020-04-05 12:12:30 +02:00
parent 5375a17181
commit 5002fb1068
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -37,11 +37,12 @@ running the script like this for maximum verbosity:
Making a new release Making a new release
-------------------- --------------------
- Add a new entry to CHANGES.rst - CHANGES.rst: Add a new entry
- Bump VERSION in setup.py - setup.py: Bump VERSION
- Bump __version__ in src/img2pdf.py - src/img2pdf.py: Bump __version__
- Commit: - Commit:
$ git add CHANGES.rst setup.py src/img2pdf.py
$ git commit -m "release version X.Y.Z" $ git commit -m "release version X.Y.Z"
- Add git tag: - Add git tag:
@ -50,5 +51,6 @@ Making a new release
- Build and upload to pypi: - Build and upload to pypi:
$ rm dist/*
$ python3 setup.py sdist $ python3 setup.py sdist
$ twine upload --sign dist/* $ twine upload --sign dist/*