HACKING: add more detailed instructions
This commit is contained in:
parent
5375a17181
commit
5002fb1068
1 changed files with 5 additions and 3 deletions
8
HACKING
8
HACKING
|
@ -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/*
|
||||||
|
|
Loading…
Reference in a new issue