Don't delete the wrong file

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
This commit is contained in:
Dorian Stoll 2020-01-23 01:56:47 +01:00
parent b23824ce07
commit 49fd324869
No known key found for this signature in database
GPG key ID: F1DACD02C619442A
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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