diff --git a/Makefile b/Makefile index dc24469..9e5497c 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,9 @@ NAME=lorax-templates-rhel RHELVER=10.0 RHPKG=centpkg --release=c10s +# Previous release, override this when new commits are already on c10s +PREV ?= origin/c10s + # git user.email and user.name must be setup GITEMAIL := $(shell git config user.email) GITNAME := $(shell git config user.name) @@ -34,7 +37,7 @@ update-spec: clog clog: @echo "* $(shell date '+%a %b %d %Y') ${GITNAME} <${GITEMAIL}> - ${RHELVER}-${SERIAL}" > clog-spec - ./tools/git-changelog -t origin/c10s > clog + ./tools/git-changelog -t ${PREV} > clog cat clog >> clog-spec # These need to rerun make to pick up the bumped serial number