Skip to content

Commit 5155c0e

Browse files
fabiobaltieridkalowsk
authored andcommitted
doc: release: add a step to verify that the tag is signed
Add an extra "git show" step to the release process to verify that the key has been indeed signed. Signed-off-by: Fabio Baltieri <[email protected]>
1 parent f556826 commit 5155c0e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

doc/project/release_process.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,10 +453,20 @@ steps:
453453
#. Post a PR with the updated :zephyr_file:`VERSION` file using
454454
``release: Zephyr 1.11.0-rc1`` as the commit subject. Merge
455455
the PR after successful CI.
456+
456457
#. Tag and push the version, using an annotated tag::
457458

458459
$ git pull
459460
$ git tag -s -m "Zephyr 1.11.0-rc1" v1.11.0-rc1
461+
462+
#. Verify that the tag has been signed correctly, ``git show`` for the
463+
tag must contain a signature (look for the ``BEGIN PGP SIGNATURE``
464+
or ``BEGIN SSH SIGNATURE`` marker in the output)::
465+
466+
$ git show v1.11.0-rc1
467+
468+
#. Push the tag::
469+
460470
$ git push [email protected]:zephyrproject-rtos/zephyr.git v1.11.0-rc1
461471

462472
#. Send an email to the mailing lists (``announce`` and ``devel``)
@@ -486,6 +496,15 @@ steps:
486496

487497
$ git pull
488498
$ git tag -s -m "Zephyr 1.11.0" v1.11.0
499+
500+
#. Verify that the tag has been signed correctly, ``git show`` for the
501+
tag must contain a signature (look for the ``BEGIN PGP SIGNATURE``
502+
or ``BEGIN SSH SIGNATURE`` marker in the output)::
503+
504+
$ git show v1.11.0
505+
506+
#. Push the tag::
507+
489508
$ git push [email protected]:zephyrproject-rtos/zephyr.git v1.11.0
490509

491510
#. Find the new ``v1.11.0`` tag at the top of the releases page and

0 commit comments

Comments
 (0)