From 8c521b1b4e775a84b26e23e8ee73e18ccc026924 Mon Sep 17 00:00:00 2001 From: Christian Tosta Date: Fri, 18 Apr 2025 05:34:45 -0300 Subject: [PATCH] Testing Workflow --- .github/workflows/build-rpm.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-rpm.yml b/.github/workflows/build-rpm.yml index 3167dd4..da5a4e8 100644 --- a/.github/workflows/build-rpm.yml +++ b/.github/workflows/build-rpm.yml @@ -58,4 +58,22 @@ jobs: uses: actions/upload-artifact@v4 with: name: built-rpms - path: ~/rpmbuild/RPMS/ + path: | + ~/rpmbuild/RPMS/ + ~/rpmbuild/SRPMS/ + + - name: Push Git Tag + run: | + git config user.name "GitHub Actions" + git config user.email "github-actions@users.noreply.github.com" + git tag ${PKG_VERSION} + git push origin ${PKG_VERSION} + + - name: Create GitHub Release + uses: softprops/action-gh-release@v2 + if: github.ref_type == 'tag' + with: + draft: true + generate_release_notes: true + files: | + ~/rpmbuild/RPMS/**/*.rpm