Skip to content

Commit

Permalink
Update release process to use uv
Browse files Browse the repository at this point in the history
  • Loading branch information
brainsik committed Sep 12, 2024
1 parent f736d34 commit e280a8c
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ Notes from the last release process. Documentation is the first step on the road

### 1. Create new build on GitHub

1. Update json-store/__init__.py with new version.
1. Tag the commit (git tag -s v3.2)
1. Update `json-store/__init__.py` with new version.
1. Tag the commit
```sh
git tag -s v3.2
```
1. Push commit and push tag
```sh
git push --atomic origin main v3.2
Expand All @@ -20,15 +23,9 @@ Notes from the last release process. Documentation is the first step on the road

### 3. Release on PyPI

1. Install Twine in venv
```sh
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install twine
```
1. Upload artifacts
```sh
python3 -m twine upload /path/to/dist/*
uvx twine upload /path/to/dist/*
```

### 4. Cleanup
Expand Down

0 comments on commit e280a8c

Please sign in to comment.