Add script for package publishing
This commit is contained in:
parent
7e8ac44078
commit
d71276133f
1 changed files with 10 additions and 0 deletions
10
Makefile
Normal file
10
Makefile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
publish:
|
||||
pip install twine
|
||||
python setup.py sdist
|
||||
twine upload dist/*
|
||||
|
||||
ci-publish:
|
||||
echo '[pypi]' > ~/.pypirc
|
||||
echo 'username=lukicdarkoo' >> ~/.pypirc
|
||||
echo "password=${PYPI_PASSWORD}" >> ~/.pypirc
|
||||
$(MAKE) publish
|
||||
Loading…
Reference in a new issue