From ae8b5317c9d8de91760de1ce0353e3ca2f682b5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bendeg=C3=BAz=20Csirmaz?= Date: Thu, 16 Apr 2026 16:28:12 +0200 Subject: [PATCH] chore(dir-sdk-python): add check for UV_PUBLISH_TOKEN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bendegúz Csirmaz --- Taskfile.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index 2f80d11..dfefe93 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -107,4 +107,10 @@ tasks: deps: - task: deps:uv cmds: - - "{{.UV_BIN}} publish" + - | + if [ -z "$UV_PUBLISH_TOKEN" ]; then + echo "UV_PUBLISH_TOKEN not set" 1>&2 + exit 1 + fi + + {{.UV_BIN}} publish