ci: add git ref
Some checks failed
Continuous Integration / build (push) Has been cancelled

This commit is contained in:
2026-02-15 01:10:12 +01:00
parent 0bc8c67e92
commit 4c0fbbfe97
2 changed files with 7 additions and 5 deletions

View File

@@ -15,10 +15,12 @@ jobs:
fetch-tags: true
- name: Build tarball
run: make tarball
env:
GIT_REFERENCE: ${{ github.ref }}
- name: Build rpm package
run: rpmbuild -ba "$(make name).spec"
- name: Upload rpm package
run: make upload
env:
PACKAGES_USERNAME: ${{ vars.PACKAGES_USERNAME }}
PACKAGES_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
GIT_PACKAGES_USERNAME: ${{ vars.GIT_PACKAGES_USERNAME }}
GIT_PACKAGES_TOKEN: ${{ secrets.GIT_PACKAGES_TOKEN }}