Skip to content

Commit 2408c2e

Browse files
add the pypi publish steps to the Makefile
1 parent abd2714 commit 2408c2e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,16 @@ lint: pydeps
4444

4545
preflight: bandit test
4646

47+
publish-pypi-test: clean venv build
48+
. venv/bin/activate; \
49+
python3 -m pip install --upgrade twine && \
50+
python3 -m twine upload --repository testpypi dist/*
51+
52+
publish-pypi: clean venv build
53+
. venv/bin/activate; \
54+
python3 -m pip install --upgrade twine && \
55+
python3 -m twine upload --repository pypi dist/*
56+
4757
pydeps:
4858
. venv/bin/activate; \
4959
pip install --upgrade -q pip && \

0 commit comments

Comments
 (0)