Skip to content

Commit

Permalink
publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
ADBond committed Sep 17, 2024
1 parent 07bd298 commit e9b10c4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Get dependencies
uv sync
```

Update dev dependencies
Update dev dependencies (although this happens automatically)

```sh
uv lock
Expand Down Expand Up @@ -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.

0 comments on commit e9b10c4

Please sign in to comment.