diff --git a/.github/workflows/fedora-30.yml b/.github/workflows/fedora-30.yml index e579e9a02..18ee13152 100644 --- a/.github/workflows/fedora-30.yml +++ b/.github/workflows/fedora-30.yml @@ -95,7 +95,7 @@ jobs: # Sign the updated repository echo "$GPG_KEY" | base64 -d | gpg --import --no-tty --batch --yes if [ -f 'repodata/repomd.xml.asc' ]; then - rm repodata/repomd.xml + rm repodata/repomd.xml.asc fi gpg --detach-sign --batch --no-tty --armor -u $GPG_KEY_ID repodata/repomd.xml diff --git a/.github/workflows/fedora-31.yml b/.github/workflows/fedora-31.yml index e4dc54d71..9c7b479d3 100644 --- a/.github/workflows/fedora-31.yml +++ b/.github/workflows/fedora-31.yml @@ -95,7 +95,7 @@ jobs: # Sign the updated repository echo "$GPG_KEY" | base64 -d | gpg --import --no-tty --batch --yes if [ -f 'repodata/repomd.xml.asc' ]; then - rm repodata/repomd.xml + rm repodata/repomd.xml.asc fi gpg --detach-sign --batch --no-tty --armor -u $GPG_KEY_ID repodata/repomd.xml