@@ -47,18 +47,11 @@ twine upload dist/*
47
47
48
48
## Post release
49
49
50
- ### New branch to create for major releases
50
+ ### Merge tags in master for pre-commit
51
51
52
- The master branch will have all the new features for the `` X.Y+1 `` version
53
-
54
- If you're doing a major release, you need to create the `` X.Y `` branch
55
- where we will cherry-pick bugs to release the `` X.Y.Z+1 `` minor versions
56
-
57
- ### Merge tags in master for minor releases
58
-
59
- Merge the tag `` X.Y.Z `` in the main branch by doing a history only merge. It's done
60
- in order to signal that this is an official release tag, and for `` pre-commit autoupdate ``
61
- to works.
52
+ If the tag you just made is not part of the main branch, merge the tag `` X.Y.Z ``
53
+ in the main branch by doing a history only merge. It's done in order to signal
54
+ that this is an official release tag, and for `` pre-commit autoupdate `` to works.
62
55
63
56
``` bash
64
57
git checkout master
@@ -75,8 +68,7 @@ if it's an issue labelled as blocker.
75
68
76
69
#### Changelog
77
70
78
- * Create a new section, with the name of the release `` X.Y.Z+1 `` on the `` X.Y `` branch.
79
- * If it's a major release, also create a new section for `` X.Y+1.0 `` on the master branch
71
+ * Create a new section, with the name of the release `` X.Y.Z+1 `` or `` X.Y+1.0 `` on the master branch.
80
72
81
73
You need to add the estimated date when it is going to be published. If
82
74
no date can be known at that time, we should use `` Undefined `` .
@@ -88,6 +80,5 @@ Take a look at the examples from ``doc/whatsnew``.
88
80
89
81
### Versions
90
82
91
- Update `` numversion `` to `` X.Y+1.0 `` in `` __pkginfo__ `` for `` master `` and to
92
- `` X.Y.Z+1 `` for the `` X.Y `` branch. `` dev_version `` should also be back to an
93
- integer after the tag.
83
+ Update `` numversion `` to `` X.Y+1.0 `` or `` X.Y.Z+1 `` in `` __pkginfo__ `` .
84
+ `` dev_version `` should also be back to an integer after the tag.
0 commit comments