Don't delete the wrong file
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
This commit is contained in:
parent
b23824ce07
commit
49fd324869
2
.github/workflows/fedora-30.yml
vendored
2
.github/workflows/fedora-30.yml
vendored
|
@ -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
|
||||
|
||||
|
|
2
.github/workflows/fedora-31.yml
vendored
2
.github/workflows/fedora-31.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue