mirror of
https://github.com/borgbackup/borg.git
synced 2024-09-11 12:36:12 +03:00
signing binaries with Qubes OS support, docs
This commit is contained in:
parent
10a4e011c0
commit
305efb5b01
@ -338,7 +338,9 @@ Checklist:
|
||||
scripts/sdist-sign X.Y.Z
|
||||
scripts/upload-pypi X.Y.Z test
|
||||
scripts/upload-pypi X.Y.Z
|
||||
- put binaries into dist/borg-OSNAME and sign them:
|
||||
|
||||
scripts/sign-binaries 201912312359
|
||||
- close the release milestone on GitHub
|
||||
- announce on:
|
||||
|
||||
|
@ -1,9 +1,20 @@
|
||||
#!/bin/bash
|
||||
# usage: sign-binaries 201512312359
|
||||
|
||||
D=$1
|
||||
|
||||
if [ "$D" = "" ]; then
|
||||
echo "Usage: sign-binaries 201912312359"
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ "$QUBES_GPG_DOMAIN" = "" ]; then
|
||||
GPG=gpg
|
||||
else
|
||||
GPG=qubes-gpg-client-wrapper
|
||||
fi
|
||||
|
||||
for file in dist/borg-*; do
|
||||
gpg --armor --detach-sign $file
|
||||
$GPG --local-user "Thomas Waldmann" --armor --detach-sign --output $file.asc $file
|
||||
done
|
||||
|
||||
touch -t $1 dist/*
|
||||
|
||||
touch -t $D dist/*
|
||||
|
Loading…
Reference in New Issue
Block a user