File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,18 @@ So, you want to release the `X.Y.Z` version of astroid ?
10
10
2 . Check the result (Do ` git diff vX.Y.Z-1 ChangeLog ` in particular).
11
11
3 . Install the release dependencies ` pip3 install pre-commit tbump `
12
12
4 . Bump the version and release by using ` tbump X.Y.Z --no-push ` .
13
- 5 . Push the tag.
13
+ 5 . Push the tag, push a ` X.Y ` branch .
14
14
6 . Release the version on GitHub with the same name as the tag and copy and paste the
15
15
appropriate changelog in the description. This trigger the pypi release.
16
16
17
17
## Post release
18
18
19
+ ### Backport fixes from main
20
+
21
+ When a crash or a bug is fixed on the main branch, and it needs backport, make sure that
22
+ the changelog is for the patch version ` X.Y-1.Z' ` then after the PR is merged
23
+ cherry-pick the commit on the ` X.Y-1 ` branch and do a release for ` X.Y-1.Z ` .
24
+
19
25
### Back to a dev version
20
26
21
27
Move back to a dev version with ` tbump ` :
You can’t perform that action at this time.
0 commit comments