Fix updating the repository for arch
GPG will refuse to overwrite already existing signatures, so remove them before signing. Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
This commit is contained in:
parent
d96fe6b277
commit
255b82b08a
6
.github/workflows/arch.yml
vendored
6
.github/workflows/arch.yml
vendored
|
@ -108,6 +108,12 @@ jobs:
|
|||
|
||||
# Sign the updated repository
|
||||
echo "$GPG_KEY" | base64 -d | gpg --import --no-tty --batch --yes
|
||||
if [ -f 'linux-surface.db.sig' ]; then
|
||||
rm linux-surface.db.sig
|
||||
rm linux-surface.db.tar.gz.sig
|
||||
rm linux-surface.files.sig
|
||||
rm linux-surface.files.tar.gz.sig
|
||||
fi
|
||||
gpg --detach-sign --batch --no-tty --no-armor -u $GPG_KEY_ID linux-surface.db
|
||||
gpg --detach-sign --batch --no-tty --no-armor -u $GPG_KEY_ID linux-surface.db.tar.gz
|
||||
gpg --detach-sign --batch --no-tty --no-armor -u $GPG_KEY_ID linux-surface.files
|
||||
|
|
6
.github/workflows/arch_lts.yml
vendored
6
.github/workflows/arch_lts.yml
vendored
|
@ -108,6 +108,12 @@ jobs:
|
|||
|
||||
# Sign the updated repository
|
||||
echo "$GPG_KEY" | base64 -d | gpg --import --no-tty --batch --yes
|
||||
if [ -f 'linux-surface.db.sig' ]; then
|
||||
rm linux-surface.db.sig
|
||||
rm linux-surface.db.tar.gz.sig
|
||||
rm linux-surface.files.sig
|
||||
rm linux-surface.files.tar.gz.sig
|
||||
fi
|
||||
gpg --detach-sign --batch --no-tty --no-armor -u $GPG_KEY_ID linux-surface.db
|
||||
gpg --detach-sign --batch --no-tty --no-armor -u $GPG_KEY_ID linux-surface.db.tar.gz
|
||||
gpg --detach-sign --batch --no-tty --no-armor -u $GPG_KEY_ID linux-surface.files
|
||||
|
|
Loading…
Reference in a new issue