Merge pull request #9130 from ThomasWaldmann/port-9121-to-master

Release process updates (master)
This commit is contained in:
TW 2025-11-01 20:11:54 +01:00 committed by GitHub
commit bcbff56bde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 21 additions and 17 deletions

View file

@ -47,18 +47,18 @@ borg-linux-glibc231-x86_64 Linux (built on Debian 11 "Bullseye" with glibc 2.31)
borg-freebsd-14-x86_64 FreeBSD (built on FreeBSD 14)
Note: if you don't find a specific binary here, check release 1.4.1 or 1.2.9.
Verifying your download
-----------------------
Please check the GPG signature to make sure you received the binary as I have
built it.
I provide GPG signatures for files which I have built locally on my machines.
To check the GPG signature, download both the binary and the corresponding
*.asc file and then (on the shell) type, for example:
To check the GPG signature, download both the file and the corresponding
signature (*.asc file) and then (on the shell) type, for example:
gpg --recv-keys 9F88FB52FAF7B393
gpg --verify borg-freebsd14.asc borg-freebsd14
gpg --verify borgbackup.tar.gz.asc borgbackup.tar.gz
The files are signed by:

View file

@ -439,7 +439,7 @@ Checklist:
- Check version number of upcoming release in ``CHANGES.rst``.
- Render ``CHANGES.rst`` via ``make html`` and check for markup errors.
- Verify that ``MANIFEST.in``, ``pyproject.toml`` and ``setup.py`` are complete.
- Run these commands and commit::
- Run these commands, check git status for files that might need to be added, and commit::
python scripts/make.py build_usage
python scripts/make.py build_man
@ -448,6 +448,8 @@ Checklist:
git tag -s -m "tagged/signed release X.Y.Z" X.Y.Z
- Push the release PR branch to GitHub, make a pull request.
- Also push the release tag.
- Create a clean repo and use it for the following steps::
git clone borg borg-clean
@ -456,8 +458,9 @@ Checklist:
It will also reveal uncommitted required files.
Moreover, it makes sure the vagrant machines only get committed files and
do a fresh start based on that.
- Run tox and/or binary builds on all supported platforms via vagrant,
check for test failures.
- Optional: run tox and/or binary builds on all supported platforms via vagrant,
check for test failures. This is now optional as we do platform testing and
binary building on GitHub.
- Create sdist, sign it, upload release to (test) PyPi:
::
@ -468,11 +471,12 @@ Checklist:
Note: the signature is not uploaded to PyPi any more, but we upload it to
github releases.
- Put binaries into dist/borg-OSNAME and sign them:
::
scripts/sign-binaries 201912312359
- When GitHub CI looks good on the release PR, merge it and then check "Actions":
GitHub will create binary assets after the release PR is merged within the
CI testing of the merge. Check the "Upload binaries" step on Ubuntu (AMD/Intel
and ARM64) and macOS (Intel and ARM64), fetch the ZIPs with the binaries.
- Unpack the ZIPs and test the binaries, upload the binaries to the GitHub
release page (borg-OS-SPEC-ARCH-gh and borg-OS-SPEC-ARCH-gh.tgz).
- Close the release milestone on GitHub.
- `Update borgbackup.org
@ -489,7 +493,7 @@ Checklist:
- pypi dist package and signature
- Standalone binaries (see above for how to create them).
- For macOS, document the macFUSE version in the README of the binaries.
macFUSE uses a kernel extension that needs to be compatible with the
code contained in the binary.
- For macOS binaries **with** FUSE support, document the macFUSE version
in the README of the binaries. macFUSE uses a kernel extension that needs
to be compatible with the code contained in the binary.
- A link to ``CHANGES.rst``.

View file

@ -8,7 +8,7 @@ if [ "$R" = "" ]; then
fi
if [ "$2" = "test" ]; then
export TWINE_REPOSITORY=borgbackuptest
export TWINE_REPOSITORY=testborgbackup
else
export TWINE_REPOSITORY=borgbackup
fi