|
8 | 8 | - [ ] Verify that any new functions have type declarations (ClassName/array/callable) whenever possible.
|
9 | 9 | - [ ] Verify that the license tags all refer to the _new_ organisation and no longer to Squizlabs. (easily overlooked in new files)
|
10 | 10 | - [ ] Verify that `@copyright` tags in new files use `@copyright 20xx PHPCSStandards and contributors`.
|
| 11 | +- [ ] Check if the GPG key is still valid (not expired). |
| 12 | + If it has expired, create a new key before starting the release process. |
| 13 | + - Generate a new key following the steps here: <https://phar.io/howto/generate-gpg-key.html>. |
| 14 | + - Upload the new key following the steps here: <https://phar.io/howto/uploading-public-keys.html>. |
| 15 | + :warning: the command for exporting the key will export _all_ keys for the email address. This will not work as OpenPGP does not send an email to verify the key if the upload contained multiple keys. |
| 16 | + So, first run `gpg --keyid-format LONG --list-keys my@email.com`. |
| 17 | + Then run `gpg --export --armor KEY_ID > phpcs.pub` specifically for the new key. |
| 18 | + And then upload the file. |
| 19 | + - Verify the key via the link received via email. |
| 20 | + - Update the key information in the README x 3. |
| 21 | + - Update the key info in the verify-release GHA workflow x 2. |
11 | 22 |
|
12 | 23 | ### Wiki
|
13 | 24 |
|
@@ -77,11 +88,6 @@ Please consider [funding the PHP_CodeSniffer project](https://opencollective.com
|
77 | 88 | gpg -u my@email.com --detach-sign --output phpcs-x.x.x.phar.asc phpcs-x.x.x.phar
|
78 | 89 | gpg -u my@email.com --detach-sign --output phpcbf-x.x.x.phar.asc phpcbf-x.x.x.phar
|
79 | 90 | ```
|
80 |
| - - If, for whatever reason, the key is no longer available or has expired: |
81 |
| - -> generate a new key following the steps here: <https://phar.io/howto/generate-gpg-key.html>. |
82 |
| - -> upload the new key following the steps here: <https://phar.io/howto/uploading-public-keys.html>. |
83 |
| - -> update the key information in the README x 3. |
84 |
| - -> update the key info in the verify-release GHA workflow. |
85 | 91 | - [ ] Get the SHA of the files for the phive.xml file
|
86 | 92 | ```bash
|
87 | 93 | # Linux
|
|
0 commit comments