Debian Codegraph @

docs/project/releasing.md

raw symbols SCIP
1 # Releasing
2
3 ## Version Policy
4
5 libtmux is pre-1.0. Minor version bumps may include breaking API changes.
6 Users should pin to `>=0.x,<0.y`.
7
8 ## Release Process
9
10 Releases are triggered by git tags and published to [PyPI] via OIDC trusted publishing.
11
12 1. Update `CHANGES` with the release notes
13
14 2. Bump version in `src/libtmux/__about__.py`
15
16 3. Commit:
17
18 ```console
19 $ git commit -m "libtmux <version>"
20 ```
21
22 4. Tag:
23
24 ```console
25 $ git tag v<version>
26 ```
27
28 5. Push:
29
30 ```console
31 $ git push && git push --tags
32 ```
33
34 6. CI builds and publishes to [PyPI] automatically via trusted publishing
35
36 ## Changelog Format
37
38 The `CHANGES` file uses this format:
39
40 ```text
41 libtmux <version> (<date>)
42 --------------------------
43
44 ### What's new
45
46 - Description of feature (#issue)
47
48 ### Bug fixes
49
50 - Description of fix (#issue)
51
52 ### Breaking changes
53
54 - Description of break, migration path (#issue)
55 ```
56
57 [PyPI]: https://pypi.org/project/libtmux/