@@ -92,15 +92,15 @@ explained at the end of this document in
92
92
./buildconf --force \
93
93
&& ./configure --enable-zts --disable-all --enable-debug --enable-opcache --enable-opcache-jit \
94
94
&& make -j$( nproc) \
95
- && make test TEST_PHP_ARGS=- j$( nproc) \
95
+ && make test TEST_PHP_ARGS=" -q - j$( nproc) " \
96
96
&& ./sapi/cli/php -v
97
97
98
98
# Without ZTS
99
99
make distclean || \
100
100
./buildconf --force \
101
101
&& ./configure --disable-all --enable-debug --enable-opcache --enable-opcache-jit \
102
102
&& make -j$( nproc) \
103
- && make test TEST_PHP_ARGS=- j$( nproc) \
103
+ && make test TEST_PHP_ARGS=" -q - j$( nproc) " \
104
104
&& ./sapi/cli/php -v
105
105
```
106
106
@@ -115,7 +115,7 @@ explained at the end of this document in
115
115
8. Tag the repository release branch with the version, e.g.:
116
116
117
117
` ` ` sh
118
- git tag -u YOURKEYID php-7.4.2RC2
118
+ git tag -u YOURKEYID php-7.4.2RC2 -m " Tag for php-7.4.2RC2 "
119
119
` ` `
120
120
121
121
9. Bump the version numbers in ` main/php_version.h` , ` Zend/zend.h` ,
@@ -131,26 +131,33 @@ explained at the end of this document in
131
131
(a local temporary branch should be used).
132
132
133
133
```sh
134
- git push --tags origin HEAD
134
+ git push origin {tag name}
135
135
git push origin {main branch}
136
136
git push origin {release branch}
137
137
```
138
138
139
+ Do not push with `--tags`, as this will push all local tags, including tags
140
+ you might not wish to push.
141
+
139
142
11. Run: `./scripts/dev/makedist php-7.4.0RC2`, this will export the tree,
140
143
create `configure` and build three tarballs (gz, bz2 and xz).
141
144
142
- 12. Run `./scripts/dev/gen_verify_stub <version> [identity]`, this will sign the
143
- tarballs and output verification information to be included in announcement
144
- email.
145
+ 12. Run `./scripts/dev/gen_verify_stub <version> [GPG identity] > <version>.manifest`,
146
+ this will sign the tarballs and save the signatures to `<version>.manifest`,
147
+ so you can include them in the announcement email.
148
+
149
+ 13. If you have the [GitHub command line tool](https://cli.github.com) installed,
150
+ run `gh gist create --public <version>.manifest` to create a public Gist for
151
+ the manifest file, or go to https://gist.github.com to create one manually.
145
152
146
- 13 . Copy those tarballs (scp, rsync) to downloads.php.net, in your homedir there
153
+ 14 . Copy those tarballs (scp, rsync) to downloads.php.net, in your homedir there
147
154
should be a directory `public_html/`. Copy them into there. If you do not
148
155
have this directory, create it.
149
156
150
- 14 . Now the RC can be found on https://downloads.php.net/~yourname,
157
+ 15 . Now the RC can be found on https://downloads.php.net/~yourname,
151
158
e.g. https://downloads.php.net/~derick/.
152
159
153
- 15 . Once the release has been tagged, contact the release-managers@ distribution
160
+ 16 . Once the release has been tagged, contact the release-managers@ distribution
154
161
list so that Windows binaries can be created. Once those are made, they can
155
162
be found at https://windows.php.net/download.
156
163
@@ -235,21 +242,21 @@ explained at the end of this document in
235
242
./buildconf --force \
236
243
&& ./configure --enable-zts --disable-all --enable-debug --enable-opcache --enable-opcache-jit \
237
244
&& make -j$( nproc) \
238
- && make test TEST_PHP_ARGS=- j$( nproc) \
245
+ && make test TEST_PHP_ARGS=" -q - j$( nproc) " \
239
246
&& ./sapi/cli/php -v
240
247
241
248
# Without ZTS
242
249
make distclean || \
243
250
./buildconf --force \
244
251
&& ./configure --disable-all --enable-debug --enable-opcache --enable-opcache-jit \
245
252
&& make -j$( nproc) \
246
- && make test TEST_PHP_ARGS=- j$( nproc) \
253
+ && make test TEST_PHP_ARGS=" -q - j$( nproc) " \
247
254
&& ./sapi/cli/php -v
248
255
` ` `
249
256
250
257
6. Check ` ./sapi/cli/php -v` output for version matching.
251
258
252
- 7. Tag the repository with the version e.g. ` git tag -u YOURKEYID php-7.4.1`
259
+ 7. Tag the repository with the version e.g. ` git tag -u YOURKEYID php-7.4.1 -m " Tag for php 7.4.1 " `
253
260
254
261
8. Push the tag e.g. ` git push origin php-7.4.1` .
255
262
@@ -262,11 +269,15 @@ explained at the end of this document in
262
269
be influenced by defining the environment variable
263
270
` TAR_OPTIONS=' --format=gnu' ` .
264
271
265
- 10. Run ` scripts/dev/gen_verify_stub < version> [identity]` , this will sign the
266
- tarballs and output verification information to be included in announcement
267
- email.
272
+ 10. Run ` ./scripts/dev/gen_verify_stub < version> [GPG identity] > < version> .manifest` ,
273
+ this will sign the tarballs and save the signatures to ` < version> .manifest` ,
274
+ so you can include them in the announcement email.
275
+
276
+ 11. If you have the [GitHub command line tool](https://cli.github.com) installed,
277
+ run ` gh gist create --public < version> .manifest` to create a public Gist for
278
+ the manifest file, or go to https://gist.github.com to create one manually.
268
279
269
- 11 . Commit and push all the tarballs and signature files to
280
+ 12 . Commit and push all the tarballs and signature files to
270
281
` web-php-distributions` , then update the git submodule reference in
271
282
` web-php` :
272
283
@@ -285,7 +296,7 @@ explained at the end of this document in
285
296
This is to fetch the last commit id from ` web-php-distributions` and commit
286
297
this last commit id to ` web-php` , then, website will now sync.
287
298
288
- 12 . Once the release has been tagged, contact release managers, Windows
299
+ 13 . Once the release has been tagged, contact release managers, Windows
289
300
builders, and package maintainers so that they can build releases. Do not
290
301
send this announcement to any public lists.
291
302
0 commit comments