Skip to content

Commit

Permalink
Update release doc
Browse files Browse the repository at this point in the history
  • Loading branch information
agateau committed Nov 5, 2024
1 parent a3c6a2d commit cd0ea7c
Showing 1 changed file with 55 additions and 33 deletions.
88 changes: 55 additions & 33 deletions doc/dev/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,61 +7,83 @@ of yokadi.

## In yokadi checkout

export version=<version>
- [ ] Define version

Check dev is clean
```
export version=<version>
```

git checkout dev
git pull
git status
- [ ] Check dev is clean

Update `CHANGELOG.md` file (add changes, check release date)
```
git checkout dev
git pull
git status
```
Ensure `yokadi/__init__.py` file contains $version
- [ ] Update `CHANGELOG.md` file (add changes, check release date)
Build archives
- [ ] Ensure `yokadi/__init__.py` file contains $version
./scripts/mkdist.sh ../yokadi.github.com/download
- [ ] Build archives
Push changes
```
./scripts/mkdist.sh ../yokadi.github.com/download
```
git push
- [ ] Push changes
When CI has checked the branch, merge changes in master
```
git push
```
git checkout master
git pull
git merge dev
git push
- [ ] When CI has checked the branch, merge changes in master
Tag the release
```
git checkout master
git pull
git merge dev
git push
```
git tag -a $version -m "Releasing $version"
git push --tags
- [ ] Tag the release
```
git tag -a $version -m "Releasing $version"
git push --tags
```
## In yokadi.github.com checkout
Ensure checkout is up to date
- [ ] Ensure checkout is up to date
Update documentation
- [ ] Update documentation
./updatedoc.py ../yokadi .
```
./updatedoc.py ../yokadi .
```
Update version in download page (`download.md`)
- [ ] Update version in download page (`download.md`)
Write a blog entry in `_posts/`
- [ ] Write a blog entry in `_posts/`
Test it:
- [ ] Test it:
jekyll serve
```
jekyll serve
```
Upload archives on PyPI
- [ ] Upload archives on PyPI
cd download/
twine upload yokadi-<version>.*
```
cd download/
twine upload yokadi-<version>.*
```
Publish blog post
- [ ] Publish blog post
git add .
git commit -m "Releasing $version"
git push
```
git add .
git commit -m "Releasing $version"
git push
```

0 comments on commit cd0ea7c

Please sign in to comment.