Skip to content

Commit e6a22d1

Browse files
WIP - Change to the release process
1 parent a119a34 commit e6a22d1

File tree

2 files changed

+9
-27
lines changed

2 files changed

+9
-27
lines changed

ChangeLog

+2-11
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,15 @@
22
Pylint's ChangeLog
33
------------------
44

5-
What's New in Pylint 2.8.0?
6-
===========================
5+
What's New in Pylint 2.7.5?
76
Release date: Undefined
87

98
..
10-
Put new features here and also in 'doc/whatsnew/2.8.rst'
9+
Put new features and bugfixes here and also in 'doc/whatsnew/2.8.rst'
1110

1211
* Apply ``const-naming-style`` to module constants annotated with
1312
``typing.Final``
1413

15-
16-
What's New in Pylint 2.7.5?
17-
===========================
18-
Release date: Undefined
19-
20-
..
21-
Put bug fixes that will be cherry-picked to latest major version here
22-
2314
* Improved protected access checks to allow access inside class methods
2415

2516
Closes #1159

doc/release.md

+7-16
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,11 @@ twine upload dist/*
4747

4848
## Post release
4949

50-
### New branch to create for major releases
50+
### Merge tags in master for pre-commit
5151

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.
6255

6356
```bash
6457
git checkout master
@@ -75,8 +68,7 @@ if it's an issue labelled as blocker.
7568

7669
#### Changelog
7770

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.
8072

8173
You need to add the estimated date when it is going to be published. If
8274
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``.
8880

8981
### Versions
9082

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

Comments
 (0)