Commit ae68b39b authored by Oliver Pinter's avatar Oliver Pinter
Browse files

HBSD: HBSD: prepare release conf for 12-STABLE release - part 2


Signed-off-by: default avatarOliver Pinter <oliver.pinter@hardenedbsd.org>
parent 8cc85a03
......@@ -9,7 +9,7 @@
#load_target_env() { }
#buildenv_setup() { }
HBSD_NAME_TAG=`git tag --contains HEAD | awk '/^HardenedBSD-([0-9]*-STABLE|11-CURRENT)-v[0-9]*(.[0-9]*)?$/{print $1}'`
HBSD_NAME_TAG=`git tag --contains HEAD | awk '/^HardenedBSD-([0-9]*-STABLE|13-CURRENT)-v[0-9]*(.[0-9]*)?$/{print $1}'`
HBSD_DATE_TAG=`git tag --contains HEAD | awk '/^hardenedbsd-([0-9]*-stable|master)-[0-9]*-[0-9]$/{print $1}'`
case ${HBSD_DATE_TAG} in
......
......@@ -9,7 +9,7 @@
#load_target_env() { }
#buildenv_setup() { }
HBSD_NAME_TAG=`git tag --contains HEAD | awk '/^HardenedBSD-([0-9]*-STABLE|11-CURRENT)-v[0-9]*(.[0-9]*)?$/{print $1}'`
HBSD_NAME_TAG=`git tag --contains HEAD | awk '/^HardenedBSD-([0-9]*-STABLE|13-CURRENT)-v[0-9]*(.[0-9]*)?$/{print $1}'`
HBSD_DATE_TAG=`git tag --contains HEAD | awk '/^hardenedbsd-([0-9]*-stable|master)-[0-9]*-[0-9]$/{print $1}'`
case ${HBSD_DATE_TAG} in
......@@ -29,12 +29,20 @@ case ${HBSD_DATE_TAG} in
HBSD_NAME_TAG=`git tag --sort="v:refname" | awk '/^HardenedBSD-11-STABLE-v[0-9]*(.[0-9]*)?$/{print $1}' | tail -1`+S${HBSD_LAST_COMMIT}
fi
;;
*12-stable*)
HBSD_BRANCH="hardened/11-stable/master"
if [ -z "${HBSD_NAME_TAG}" ]
then
HBSD_LAST_COMMIT=`git rev-parse ${HBSD_BRANCH}`
HBSD_NAME_TAG=`git tag --sort="v:refname" | awk '/^HardenedBSD-12-STABLE-v[0-9]*(.[0-9]*)?$/{print $1}' | tail -1`+S${HBSD_LAST_COMMIT}
fi
;;
hardenedbsd-master-*)
HBSD_BRANCH="hardened/current/master"
if [ -z "${HBSD_NAME_TAG}" ]
then
HBSD_LAST_COMMIT=`git rev-parse ${HBSD_BRANCH}`
HBSD_NAME_TAG=`git tag --sort="v:refname" | awk '/^HardenedBSD-12-CURRENT-v[0-9]*(.[0-9]*)?$/{print $1}' | tail -1`+S${HBSD_LAST_COMMIT}
HBSD_NAME_TAG=`git tag --sort="v:refname" | awk '/^HardenedBSD-13-CURRENT-v[0-9]*(.[0-9]*)?$/{print $1}' | tail -1`+S${HBSD_LAST_COMMIT}
fi
;;
*)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment