diff --git a/.github/workflows/arch.yml b/.github/workflows/arch.yml index 55bf977dd..557efe7d6 100644 --- a/.github/workflows/arch.yml +++ b/.github/workflows/arch.yml @@ -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 diff --git a/.github/workflows/arch_lts.yml b/.github/workflows/arch_lts.yml index b822259dd..e3925a4b4 100644 --- a/.github/workflows/arch_lts.yml +++ b/.github/workflows/arch_lts.yml @@ -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