From d94b39194c4cca3c38627cbf45f9ce9a2d210178 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Wed, 2 Aug 2017 07:57:51 +0200 Subject: [PATCH] Add subrevision if BETA="yes" for daily builds --- compile.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compile.sh b/compile.sh index 1f72ba823f..ddc6bab9eb 100755 --- a/compile.sh +++ b/compile.sh @@ -53,6 +53,9 @@ if [[ ! -f $SRC/.ignore_changes ]]; then fi fi +# daily beta build contains date in subrevision +if [[ $BETA == yes ]]; then SUBREVISION="."$(date --date="tomorrow" +"%y%m%d"); fi + if [[ $BUILD_ALL == yes || $BUILD_ALL == demo ]]; then source $SRC/lib/build-all.sh else