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