diff --git a/Makefile b/Makefile index 0c3e963..52bdf09 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,5 @@ NAME = netoik-cicd VERSION = $(shell [ -d ".git" ] && git describe | sed "s/-/./g") -BRANCH = $(shell [ -d ".git" ] && git branch --show-current) TEMP_DIR = "${PWD}/.temp" RPM_SOURCEDIR = $(shell rpm --eval "%{_sourcedir}") @@ -41,7 +40,7 @@ $(RPM_SOURCEDIR)/$(NAME)-%.tar.gz: * --prefix="$(NAME)-$(VERSION)/" \ --worktree-attributes \ --verbose \ - "$(BRANCH)" + HEAD .PHONY: tarball tarball: $(RPM_SOURCEDIR)/$(NAME)-$(VERSION).tar.gz