info on how to release
This commit is contained in:
parent
7db3a2ba3a
commit
318cd3391f
2 changed files with 21 additions and 0 deletions
11
RELEASE.rst
Normal file
11
RELEASE.rst
Normal file
|
@ -0,0 +1,11 @@
|
|||
How to release
|
||||
===================
|
||||
|
||||
Change version number in ``setup.py`` and ``doc/source/conf.py`` and commit it.
|
||||
Make a tag like ``git tag -s v1.2.3``
|
||||
|
||||
``git push --tags``
|
||||
|
||||
./publish-release
|
||||
|
||||
|
10
publish-release
Executable file
10
publish-release
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -u
|
||||
|
||||
ver=$(git describe --exact-match | tr -d v)
|
||||
|
||||
python setup.py sdist bdist_wheel
|
||||
twine upload -s dist/larigira-${ver}*.whl
|
||||
twine upload -s dist/larigira-${ver}*.tar.gz
|
Loading…
Reference in a new issue