@@ -26,8 +26,8 @@ explained at the end of this document in
26
26
27
27
3 . Ensure that the relevant tests on CI are green.
28
28
29
- See:
30
- https://travis- ci.org/ php/php-src/builds
29
+ See:
30
+ https://ci.appveyor.com/project/ php/php-src
31
31
https://dev.azure.com/phpazuredevops/PHP/
32
32
33
33
It is recommended to do so a couple of days before the packaging day, to
@@ -41,8 +41,7 @@ explained at the end of this document in
41
41
4 . Follow all steps to the letter. When unclear ask previous RM's before
42
42
proceeding. Ideally make sure that for the first releases one of the
43
43
previous RM's is around to answer questions. For the steps related to the
44
- php/QA/bug websites try to have someone from the webmaster team (Bjori) on
45
- hand.
44
+ php/QA/bug websites try to have someone from the webmaster team on hand.
46
45
47
46
5 . Verify the tags to be extra sure everything was tagged properly.
48
47
@@ -57,18 +56,15 @@ explained at the end of this document in
57
56
58
57
## Packaging a non stable release (alpha/beta/RC)
59
58
60
- 1 . Check Windows snapshot builder logs https://windows.php.net/downloads/snaps/
61
- the last revision.
59
+ 1 . Check the tests at https://travis-ci.org/php/php-src/builds .
62
60
63
- 2 . Check the tests at https://travis-ci.org/php/php-src/builds .
64
-
65
- 3 . Run the ` scripts/dev/credits ` script in php-src and commit the changes in
61
+ 2 . Run the ` scripts/dev/credits ` script in php-src and commit the changes in
66
62
the credits files in ext/standard.
67
63
68
- 4 . Checkout the release branch for this release (e.g., PHP-7.4.2) from the main
64
+ 3 . Checkout the release branch for this release (e.g., PHP-7.4.2) from the main
69
65
branch.
70
66
71
- 5 . Bump the version numbers in ` main/php_version.h ` , ` Zend/zend.h ` ,
67
+ 4 . Bump the version numbers in ` main/php_version.h ` , ` Zend/zend.h ` ,
72
68
` configure.ac ` and possibly ` NEWS ` . Do not use abbreviations for alpha and
73
69
beta. Do not use dashes, you should ` #define PHP_VERSION "7.4.22RC1" ` and
74
70
not ` #define PHP_VERSION "7.4.22-RC1" ` .
@@ -80,31 +76,31 @@ explained at the end of this document in
80
76
need to be rebuilt with each bump. Do * not* bump the API versions after
81
77
RC1.
82
78
83
- 6 . Compile and run ` make test ` , with and without ZTS, using the right Bison and
79
+ 5 . Compile and run ` make test ` , with and without ZTS, using the right Bison and
84
80
re2c version (for PHP 7.4, minimum Bison 3.0.0 and re2c 0.13.4 are used).
85
81
86
- 7 . Check ` ./sapi/cli/php -v ` output for version matching.
82
+ 6 . Check ` ./sapi/cli/php -v ` output for version matching.
87
83
88
- 8 . If all is right, commit the changes to the release branch:
84
+ 7 . If all is right, commit the changes to the release branch:
89
85
90
86
``` sh
91
87
git commit -a
92
88
```
93
89
94
- 9 . Tag the repository release branch with the version, e.g.:
90
+ 8 . Tag the repository release branch with the version, e.g.:
95
91
96
92
` ` ` sh
97
93
git tag -u YOURKEYID php-7.4.2RC2
98
94
` ` `
99
95
100
- 10 . Bump the version numbers in ` main/php_version.h` , ` Zend/zend.h` ,
96
+ 9 . Bump the version numbers in ` main/php_version.h` , ` Zend/zend.h` ,
101
97
` configure.ac` and ` NEWS` in the * main* branch (PHP-7.4 for example) to
102
98
prepare for the ** next** version. For example, if the RC is " 7.4.1RC1" then
103
99
the new one should be ` 7.4.2-dev` - regardless if we get a new RC or not.
104
100
This is to make sure `version_compare ()` can correctly work. Commit the
105
101
changes to the main branch.
106
102
107
- 11 . Push the changes to the ` php-src` .
103
+ 10 . Push the changes to the ` php-src` .
108
104
109
105
Non stable release branches don' t need to be pushed
110
106
(a local temporary branch should be used).
@@ -115,21 +111,21 @@ explained at the end of this document in
115
111
git push origin {release branch}
116
112
```
117
113
118
- 12 . Run: `./scripts/dev/makedist php-7.4.0RC2`, this will export the tree,
114
+ 11 . Run: `./scripts/dev/makedist php-7.4.0RC2`, this will export the tree,
119
115
create `configure` and build three tarballs (gz, bz2 and xz).
120
116
121
- 13 . Run `./scripts/dev/gen_verify_stub <version> [identity]`, this will sign the
117
+ 12 . Run `./scripts/dev/gen_verify_stub <version> [identity]`, this will sign the
122
118
tarballs and output verification information to be included in announcement
123
119
email.
124
120
125
- 14 . Copy those tarballs (scp, rsync) to downloads.php.net, in your homedir there
121
+ 13 . Copy those tarballs (scp, rsync) to downloads.php.net, in your homedir there
126
122
should be a directory `public_html/`. Copy them into there. If you do not
127
123
have this directory, create it.
128
124
129
- 15 . Now the RC can be found on https://downloads.php.net/~yourname,
125
+ 14 . Now the RC can be found on https://downloads.php.net/~yourname,
130
126
e.g. https://downloads.php.net/~derick/.
131
127
132
- 16 . Once the release has been tagged, contact the release-managers@ distribution
128
+ 15 . Once the release has been tagged, contact the release-managers@ distribution
133
129
list so that Windows binaries can be created. Once those are made, they can
134
130
be found at https://windows.php.net/download.
135
131
0 commit comments