diff --git a/docs/internals/howto-release-django.txt b/docs/internals/howto-release-django.txt index 7acad7ac2b19..302865d29ab3 100644 --- a/docs/internals/howto-release-django.txt +++ b/docs/internals/howto-release-django.txt @@ -555,13 +555,8 @@ Building the artifacts To use this file, you will need a working install of PGP or other compatible public-key encryption software. You will also need to have the Django release manager's public key in your keyring. This key has - the ID ``XXXXXXXXXXXXXXXX`` and can be imported from the MIT - keyserver, for example, if using the open-source GNU Privacy Guard - implementation of PGP: - - gpg --keyserver pgp.mit.edu --recv-key XXXXXXXXXXXXXXXX - - or via the GitHub API: + the ID ``XXXXXXXXXXXXXXXX`` and can be imported from GitHub, for example, + if using the open-source GNU Privacy Guard implementation of PGP: curl https://github.com/<>.gpg | gpg --import - diff --git a/scripts/do_django_release.py b/scripts/do_django_release.py index 8f7450147e05..aa4f61b92696 100755 --- a/scripts/do_django_release.py +++ b/scripts/do_django_release.py @@ -22,13 +22,8 @@ To use this file, you will need a working install of PGP or other compatible public-key encryption software. You will also need to have the Django release manager's public key in your keyring. This key has -the ID ``{pgp_key_id}`` and can be imported from the MIT -keyserver, for example, if using the open-source GNU Privacy Guard -implementation of PGP: - - gpg --keyserver pgp.mit.edu --recv-key {pgp_key_id} - -or via the GitHub API: +the ID ``{pgp_key_id}`` and can be imported from GitHub, for example, if +using the open-source GNU Privacy Guard implementation of PGP: curl {pgp_key_url} | gpg --import - @@ -67,7 +62,7 @@ Git tag ======= -{commit_hash} {django_version} +The {django_version} tag points to commit {commit_hash}. """ diff --git a/scripts/tests.py b/scripts/tests.py index 10afce658895..66b5fa00bdf2 100644 --- a/scripts/tests.py +++ b/scripts/tests.py @@ -87,7 +87,11 @@ def test_release_metadata(self): self.assertIn("ABCD1234ABCD1234", result) self.assertIn("https://github.com/releaser.gpg", result) self.assertIn("Django-5.2.4.checksum.txt", result) - self.assertIn("abc123def456abc123def456abc123def456abc1 5.2.4", result) + self.assertIn( + "The 5.2.4 tag points to commit " + "abc123def456abc123def456abc123def456abc1.", + result, + ) def test_artifact_checksums(self): result = self.generate_checksum_file()