Fix automatic Fedora repo update

This commit is contained in:
Maximilian Luz 2020-02-06 23:55:04 +01:00
parent e83c48215e
commit f305468472
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02
2 changed files with 8 additions and 2 deletions

View file

@ -81,7 +81,10 @@ jobs:
cd fedora/f30
for blob in $(find . -name '*.blob'); do
wget https://github.com/linux-surface/linux-surface/releases/download/$(cat $blob)
blobref="$(cat $blob)"
repo="${blobref%%:*}"
vers="${blobref#*:}"
wget "https://github.com/linux-surface/$repo/releases/download/$vers"
done
- name: Download artifacts

View file

@ -81,7 +81,10 @@ jobs:
cd fedora/f31
for blob in $(find . -name '*.blob'); do
wget https://github.com/linux-surface/linux-surface/releases/download/$(cat $blob)
blobref="$(cat $blob)"
repo="${blobref%%:*}"
vers="${blobref#*:}"
wget "https://github.com/linux-surface/$repo/releases/download/$vers"
done
- name: Download artifacts