Skip to content

Commit ef71ec8

Browse files
committed
add release target
1 parent 0149ae9 commit ef71ec8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,12 @@ mypy: ${PYSOURCES}
158158
--warn-redundant-casts --warn-unused-ignores \
159159
${MODULE}
160160

161+
release: FORCE
162+
./release-test.sh
163+
. testenv2/bin/activate && \
164+
testenv2/src/${MODULE}/setup.py sdist bdist_wheel && \
165+
pip install twine && \
166+
twine upload testenv2/src/${MODULE}/dist/* && \
167+
git tag ${VERSION} && git push --tags
168+
161169
FORCE:

0 commit comments

Comments
 (0)