From f1c0e1bf6338dd5353786286c0bc716ef5a6c37c Mon Sep 17 00:00:00 2001 From: Vikash Kothary Date: Sat, 2 Jul 2022 13:44:55 +0100 Subject: [PATCH] chore: Add poetry publish environment variables and command --- Makefile | 8 ++++++++ config/.env.example | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/Makefile b/Makefile index 7f23ae7..f2fed91 100755 --- a/Makefile +++ b/Makefile @@ -40,9 +40,17 @@ config/.env.%: init: @${POETRY} install +.PHONY: build +build: + @${POETRY} build + .PHONY: release #: Create new Git release and tags. release: release-branch release-tags +.PHONY: publish +publish: build + @${POETRY} publish + .PHONY: open open: @${OPEN} ${ANKISYNCD_URL} \ No newline at end of file diff --git a/config/.env.example b/config/.env.example index 6098cf5..d0e26f8 100644 --- a/config/.env.example +++ b/config/.env.example @@ -25,6 +25,11 @@ MKDOCS_CMD=serve ### JUPYTER_CMD ### JUPYTER_NOTEBOOK_DIR +## Poetry +### POETRY_PYPI_TOKEN_PYPI= +### POETRY_HTTP_BASIC_PYPI_USERNAME= +### POETRY_HTTP_BASIC_PYPI_PASSWORD= + ## Make AWK=awk BASH=bash