Skip to content

Commit

Permalink
Add --repository param to twine upload
Browse files Browse the repository at this point in the history
  • Loading branch information
apragacz committed Aug 31, 2024
1 parent ce00591 commit 73dccea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ PYLINT_OPTS := --rcfile=pyproject.toml
PYTEST := pytest
PYTEST_OPTS := --failed-first
TWINE := twine
TWINE_REPOSITORY := django-rest-registration
PIP := pip
PIP_COMPILE := pip-compile
PIP_COMPILE_OPTS := --upgrade --resolver=backtracking
Expand Down Expand Up @@ -99,7 +100,7 @@ pylint: ## run pylint

.PHONY: upload-package
upload-package: build-package check-package ## upload the package to PyPI
${TWINE} upload ${DIST_DIR}/*
${TWINE} upload --repository ${TWINE_REPOSITORY} ${DIST_DIR}/*

.PHONY: check-package
check-package: build-package ## check that the built package is well-formed
Expand Down

0 comments on commit 73dccea

Please sign in to comment.