aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/misc/how to do a release
blob: f5eb85f1405013b60db0289adfd0b1c1aabb9e69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
putting this here because i'll forget how to do it otherwise

update the pyproject.toml
tag it in git, eg v1.0

## build the builds
python3 -m build

and then put BOTH items from `dist` into the pip index dir - ~/site2/yt-dlp-rajiko/pip/yt-dlp-rajiko/
because without the .whl pip has to "build" it itself, with all the stuff that needs to be installed for that to work
update the pip index html
update the dl/ "latest" symlinks

## update the changelog file

~/site2/yt-dlp-rajiko/CHANGELOG

```
version number
date (git log v1.0 --pretty --date=rfc2822)
url: whl download link
sha256: sha256 of the whl
brief summary of the release
can span multiple lines

bullet points of changes, 1 per line
simple present tense, third person singular - continue "this release...", eg..
fixes a bug where the computer would explode
makes downloading 5000x faster
```

./generate_changelog.py to make the new rss feed

## update the website

move the previous release into the "Previous releases" <details>
update the sha256 (just sha256 command in the pip dir)
update the whl link
repeat for japanese version

now push to the server

## update github

paste the changelog output into a github release, upload the new builds

and thats probably all