Skip to content

Commit

Permalink
cleanup release
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Jan 22, 2020
1 parent 612dc87 commit 67aca04
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
Expand Up @@ -190,11 +190,11 @@ release-test: FORCE
PYVER=3 ./release-test.sh

release: release-test
. testenv3.7_2/bin/activate && \
testenv3.7_2/src/${PACKAGE}/setup.py sdist bdist_wheel
. testenv3_2/bin/activate && \
testenv3_2/src/${PACKAGE}/setup.py sdist bdist_wheel
. testenv3.7_2/bin/activate && \
pip install twine && \
twine upload testenv3.7_2/src/${PACKAGE}/dist/* && \
twine upload testenv3_2/src/${PACKAGE}/dist/* && \
git tag ${VERSION} && git push --tags

FORCE:
Expand Down
2 changes: 1 addition & 1 deletion docs/typeshed.rst
Expand Up @@ -10,7 +10,7 @@ directory.

mkdir out
stubgen module_name
mv out/module_name/* typeshed/2.7/
mv out/module_name/* typeshed/3/
make mypy

Note: the module name is not always the name of the PyPI package
Expand Down
2 changes: 1 addition & 1 deletion release-test.sh
Expand Up @@ -10,7 +10,7 @@ repo=https://github.com/${slug}.git
run_tests="bin/py.test --pyargs ${module}"
pipver=18 # minimum required version of pip
setupver=40.3 # minimum required version of setuptools
PYVER=${PYVER:=2.7}
PYVER=${PYVER:=3}

rm -Rf "testenv${PYVER}_"? || /bin/true

Expand Down

0 comments on commit 67aca04

Please sign in to comment.