Fix generating the repo for Fedora

I swear I can think... Sometimes.

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
This commit is contained in:
Dorian Stoll 2020-02-04 19:14:03 +01:00
parent 255b82b08a
commit 37abfdd086
No known key found for this signature in database
GPG key ID: F1DACD02C619442A
2 changed files with 6 additions and 6 deletions

View file

@ -94,6 +94,9 @@ jobs:
GPG_KEY: ${{ secrets.SURFACE_GPG_KEY }}
GIT_REF: ${{ github.ref }}
run: |
# Parse git tag from ref
GIT_TAG=$(echo $GIT_REF | sed 's|^refs/tags/||g')
for pkg in $(find fedora-30-latest -name '*.rpm'); do
echo "$GIT_TAG/$(basename $pkg)" > $pkg.blob
done
@ -111,9 +114,6 @@ jobs:
fi
gpg --detach-sign --batch --no-tty --armor -u $GPG_KEY_ID repodata/repomd.xml
# Parse git tag from ref
GIT_TAG=$(echo $GIT_REF | sed 's|^refs/tags/||g')
- name: Commit and push
uses: github-actions-x/commit@v2.3
with:

View file

@ -94,6 +94,9 @@ jobs:
GPG_KEY: ${{ secrets.SURFACE_GPG_KEY }}
GIT_REF: ${{ github.ref }}
run: |
# Parse git tag from ref
GIT_TAG=$(echo $GIT_REF | sed 's|^refs/tags/||g')
for pkg in $(find fedora-31-latest -name '*.rpm'); do
echo "$GIT_TAG/$(basename $pkg)" > $pkg.blob
done
@ -111,9 +114,6 @@ jobs:
fi
gpg --detach-sign --batch --no-tty --armor -u $GPG_KEY_ID repodata/repomd.xml
# Parse git tag from ref
GIT_TAG=$(echo $GIT_REF | sed 's|^refs/tags/||g')
- name: Commit and push
uses: github-actions-x/commit@v2.3
with: