ci: fetch tags
This commit is contained in:
@@ -9,8 +9,10 @@ jobs:
|
||||
build:
|
||||
runs-on: linux
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Git checkout
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-tags: true
|
||||
- name: Build tarball
|
||||
run: make tarball
|
||||
- name: Build rpm package
|
||||
|
||||
2
Makefile
2
Makefile
@@ -1,6 +1,6 @@
|
||||
NAME = $(shell basename $(PWD))
|
||||
VERSION = $(shell git describe | sed 's/-/./g')
|
||||
RELEASE = 0
|
||||
RELEASE = $(shell git rev-parse --short HEAD)
|
||||
BRANCH = $(shell git branch --show-current)
|
||||
BUILD_ARCH = noarch
|
||||
RPM_BUILD_PATH = $(RPM_RPMDIR)/$(BUILD_ARCH)/$(NAME)-$(VERSION)-$(RELEASE).$(BUILD_ARCH).rpm
|
||||
|
||||
Reference in New Issue
Block a user