From e9b10c4d4dd1e8a447e60c1846e1d4c2a2d8661d Mon Sep 17 00:00:00 2001 From: ADBond <48208438+ADBond@users.noreply.github.com> Date: Tue, 17 Sep 2024 17:09:43 +0100 Subject: [PATCH] publishing --- dev.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/dev.md b/dev.md index 4a4a0df..ebffce0 100644 --- a/dev.md +++ b/dev.md @@ -44,7 +44,7 @@ Get dependencies uv sync ``` -Update dev dependencies +Update dev dependencies (although this happens automatically) ```sh uv lock @@ -90,5 +90,16 @@ uv build --package splinkclickhouse Inspect package contents: ```sh +# replace version as appropriate mkdir -p tmp && tar -xzvf dist/splinkclickhouse-0.2.3.tar.gz -C tmp/ ``` + +### Manual publish + +Set `TWINE_PASSWORD` as an appropriate API token. This is to TestPyPI - remove option for the real thing. + +```sh +TWINE_USERNAME=__token__ uvx twine upload -r testpypi dist/* +``` + +See [twine docs](https://twine.readthedocs.io/en/stable/) for more info.