mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
pkg: reduce diff against former code
This commit is contained in:
parent
7bdcc97e3c
commit
6c797c271f
10
Makefile
10
Makefile
@ -41,17 +41,15 @@ CORE_NEXT= ${_CORE_NEXT:[1]}
|
||||
CORE_NEXT:= ${CORE_NEXT}.7
|
||||
.endif
|
||||
|
||||
.if exists(${GIT})
|
||||
. if exists(${GITVERSION})
|
||||
.if exists(${GIT}) && exists(${GITVERSION})
|
||||
_NEXTBETA!= ${GIT} tag -l ${CORE_NEXT}.b
|
||||
_NEXTDEVEL!= ${GIT} tag -l ${CORE_NEXT}\*
|
||||
. if !empty(_NEXTBETA)
|
||||
. if !empty(_NEXTBETA)
|
||||
_NEXTMATCH= --match=${CORE_NEXT}.b
|
||||
. elif !empt(_NEXTDEVEL)
|
||||
. elif !empt(_NEXTDEVEL)
|
||||
_NEXTMATCH= --match=${CORE_NEXT}\*
|
||||
. endif
|
||||
CORE_COMMIT!= ${GITVERSION} ${_NEXTMATCH}
|
||||
. endif
|
||||
CORE_COMMIT!= ${GITVERSION} ${_NEXTMATCH}
|
||||
.else
|
||||
CORE_COMMIT= unknown 0 undefined
|
||||
.endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user