summaryrefslogtreecommitdiff
path: root/scripts/do_django_release.py
AgeCommit message (Collapse)Author
2026-06-24Avoided breaking sha1sum verification in the generated checksum.txt file.Natalia
When doing releases, the `do_django_release.py` script included, in the generated checksum.txt file, a "<commit hash> <version>" section for the git tag for the release. This line was byte-for-byte a GNU coreutils checksum line, since the commit hash is 40 hex characters, therefore "sha1sum --check" parsed it as an entry for a file named after the version (e.g. "6.1b1"), failed to open that file, and aborted the `verify_release.sh` script. Reworded the line as prose so it is no longer mistaken for a checksum entry.
2026-06-24Replaced the defunct pgp.mit.edu keyserver with GitHub for key import.Natalia
2026-05-27Refactored release script to support testing in isolation.Natalia
Extracted helpers (get_commit_hash, parse_major_version, find_release_artifacts, create_checksum_file) and isolated all code with side-effects in main() guarded by __name__ == "__main__", allowing the module to be imported without starting the release process. Added tests for the new helpers in scripts/tests.py. Thanks Jacob Walls for the review and IRL test.
2026-05-27Included commit hash in checksum file when building artifacts for release.Natalia
2026-03-16Combined scripts confirm_release.sh and test_new_version.sh into ↵Natalia
verify_release.sh. This reuses the same download for both artifacts and checks both GPG signature and minimal correctness in the same script. Docs and script do_django_release.py were updated.
2025-11-21Added scripts for building and releasing Django artifacts.Natalia