Skip to content

Commit a565c44

Browse files
committed
Add make publish, and document it in DEVELOPING.md.
Signed-off-by: Flynn <[email protected]>
1 parent 1c4385c commit a565c44

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

DEVELOPING.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ To install `demosh` from source, you'll need Python 3.8.10 or higher,
1717
- Commit and push.
1818
- Tag the pushed commit with the same version that's contained in
1919
`__init__.py`, with a leading `v`.
20-
20+
- Make sure you have a valid PyPI token in `$HOME/.pypi-token`.
21+
- Run `make publish`.

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ dev:
1313
mypy lint:
1414
mypy demosh
1515

16+
publish:
17+
FLIT_USERNAME="__token__" FLIT_PASSWORD=$$(cat $$HOME/.pypi-token) flit publish

0 commit comments

Comments
 (0)