From 73dccea0c3243b6205a491698131b8b14528126e Mon Sep 17 00:00:00 2001 From: Andrzej Pragacz Date: Sun, 1 Sep 2024 00:01:05 +0200 Subject: [PATCH] Add --repository param to twine upload --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 35e7d9b..32a2b2f 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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