Skip to content

Commit ae8b531

Browse files
chore(dir-sdk-python): add check for UV_PUBLISH_TOKEN
Signed-off-by: Bendegúz Csirmaz <csirmazbendeguz@gmail.com>
1 parent 887ccaf commit ae8b531

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Taskfile.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,10 @@ tasks:
107107
deps:
108108
- task: deps:uv
109109
cmds:
110-
- "{{.UV_BIN}} publish"
110+
- |
111+
if [ -z "$UV_PUBLISH_TOKEN" ]; then
112+
echo "UV_PUBLISH_TOKEN not set" 1>&2
113+
exit 1
114+
fi
115+
116+
{{.UV_BIN}} publish

0 commit comments

Comments
 (0)