Skip to content

Commit

Permalink
Always run docker-test before uploading to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
ymattw committed Nov 13, 2024
1 parent 27a0980 commit 56c70ee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,14 @@ clean:
build:
./setup.py build sdist

dist-test: clean build
twine upload --repository=testpypi dist/*
# Expected to run outside docker with twine installed via pip
dist-test: docker-test clean build
~/.local/bin/twine upload --repository=testpypi dist/ydiff-*.tar.gz
rm -f ~/.pypirc

dist: clean build
twine upload dist/*
# Expected to run outside docker with twine installed via pip
dist: docker-test clean build
~/.local/bin/twine upload dist/ydiff-*.tar.gz
rm -f ~/.pypirc

docker-test:
Expand Down

0 comments on commit 56c70ee

Please sign in to comment.