From 075a0e785c99b85b66c5c2a6a1848cbd3bed9e05 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Tue, 23 Mar 2010 01:37:51 -0700 Subject: [PATCH] newvers - further shorten branch name in vers.txt * Adjust vers.txt to generate a shortern branch name DEVELOPMENT -> DEV RELEASE -> REL --- sys/conf/newvers.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh index b6c2fb5655..4110edeebf 100644 --- a/sys/conf/newvers.sh +++ b/sys/conf/newvers.sh @@ -140,5 +140,12 @@ EOF echo `expr ${v} + 1` > version +if [ "${BRANCH}" = "DEVELOPMENT" ]; then + SBRANCH=DEV +fi +if [ "${BRANCH}" = "RELEASE" ]; then + SBRANCH=REL +fi + stamp=`date +%Y%m%d` -echo DragonFly-${MACHINE}-${stamp}-${BRANCH}-${GITREV} > vers.txt +echo DragonFly-${MACHINE}-${stamp}-${SBRANCH}-${GITREV} > vers.txt -- 2.41.0