From 49fd324869a9aa42ab099e3a209196ad12dd7347 Mon Sep 17 00:00:00 2001 From: Dorian Stoll Date: Thu, 23 Jan 2020 01:56:47 +0100 Subject: [PATCH] Don't delete the wrong file Signed-off-by: Dorian Stoll --- .github/workflows/fedora-30.yml | 2 +- .github/workflows/fedora-31.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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