You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASING.md
+28-18
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,13 @@ Released quarterly on January 2nd, April 1st, July 1st and October 15th.
11
11
*[ ] Develop and prepare release in `main` branch.
12
12
*[ ] Check [GitHub Actions](https://github.com/python-pillow/Pillow/actions) and [AppVeyor](https://ci.appveyor.com/project/python-pillow/Pillow) to confirm passing tests in `main` branch.
13
13
*[ ] Check that all of the wheel builds [Pillow Wheel Builder](https://github.com/python-pillow/pillow-wheels) pass the tests in Travis CI and GitHub Actions.
14
-
*[ ] In compliance with [PEP 440](https://www.python.org/dev/peps/pep-0440/), update version identifier in `src/PIL/_version.py`
14
+
*[ ] In compliance with [PEP 440](https://peps.python.org/pep-0440/), update version identifier in `src/PIL/_version.py`
15
15
*[ ] Update `CHANGES.rst`.
16
16
*[ ] Run pre-release check via `make release-test` in a freshly cloned repo.
17
17
*[ ] Create branch and tag for release e.g.:
18
18
```bash
19
19
git branch 5.2.x
20
20
git tag 5.2.0
21
-
git push --all
22
21
git push --tags
23
22
```
24
23
*[ ] Create and check source distribution:
@@ -32,8 +31,11 @@ Released quarterly on January 2nd, April 1st, July 1st and October 15th.
32
31
python3 -m twine upload dist/Pillow-5.2.0*
33
32
```
34
33
*[ ] Publish the [release on GitHub](https://github.com/python-pillow/Pillow/releases)
35
-
*[ ] In compliance with [PEP 440](https://www.python.org/dev/peps/pep-0440/), increment and append `.dev0` to version identifier in `src/PIL/_version.py`
36
-
34
+
*[ ] In compliance with [PEP 440](https://peps.python.org/pep-0440/),
35
+
increment and append `.dev0` to version identifier in `src/PIL/_version.py` and then:
36
+
```bash
37
+
git push --all
38
+
```
37
39
## Point Release
38
40
39
41
Released as needed for security, installation or critical bug fixes.
@@ -45,16 +47,12 @@ Released as needed for security, installation or critical bug fixes.
45
47
git checkout -t remotes/origin/5.2.x
46
48
```
47
49
*[ ] Cherry pick individual commits from `main` branch to release branch e.g. `5.2.x`, then `git push`.
48
-
49
-
50
-
51
50
*[ ] Check [GitHub Actions](https://github.com/python-pillow/Pillow/actions) and [AppVeyor](https://ci.appveyor.com/project/python-pillow/Pillow) to confirm passing tests in release branch e.g. `5.2.x`.
52
-
*[ ] In compliance with [PEP 440](https://www.python.org/dev/peps/pep-0440/), update version identifier in `src/PIL/_version.py`
51
+
*[ ] In compliance with [PEP 440](https://peps.python.org/pep-0440/), update version identifier in `src/PIL/_version.py`
53
52
*[ ] Run pre-release check via `make release-test`.
54
53
*[ ] Create tag for release e.g.:
55
54
```bash
56
55
git tag 5.2.1
57
-
git push
58
56
git push --tags
59
57
```
60
58
*[ ] Create and check source distribution:
@@ -67,7 +65,10 @@ Released as needed for security, installation or critical bug fixes.
67
65
python3 -m twine check --strict dist/*
68
66
python3 -m twine upload dist/Pillow-5.2.1*
69
67
```
70
-
*[ ] Publish the [release on GitHub](https://github.com/python-pillow/Pillow/releases)
68
+
*[ ] Publish the [release on GitHub](https://github.com/python-pillow/Pillow/releases) and then:
69
+
```bash
70
+
git push
71
+
```
71
72
72
73
## Embargoed Release
73
74
@@ -83,31 +84,40 @@ Released as needed privately to individual vendors for critical security-related
*[ ] Publish the [release on GitHub](https://github.com/python-pillow/Pillow/releases)
94
+
*[ ] Publish the [release on GitHub](https://github.com/python-pillow/Pillow/releases) and then:
95
+
```bash
96
+
git push origin 2.5.x
97
+
```
95
98
96
99
## Binary Distributions
97
100
98
-
### Windows
99
-
*[ ] Download the artifacts from the [GitHub Actions "Test Windows" workflow](https://github.com/python-pillow/Pillow/actions/workflows/test-windows.yml)
100
-
and copy into `dist/`
101
-
102
-
### Mac and Linux
101
+
### macOS and Linux
103
102
*[ ] Use the [Pillow Wheel Builder](https://github.com/python-pillow/pillow-wheels):
*[ ] Download the artifacts from the [GitHub Actions "Test Windows" workflow](https://github.com/python-pillow/Pillow/actions/workflows/test-windows.yml)
116
+
and copy into `dist/`. For example using [GitHub CLI](https://github.com/cli/cli):
0 commit comments