From 6fbd5a04a322a3ff3504e24adcfce5280cbf4510 Mon Sep 17 00:00:00 2001 From: hardy Date: Sat, 3 Jun 2023 11:05:51 +0800 Subject: [PATCH] fix build number --- build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sh b/build.sh index 3581bcd4..22277b46 100644 --- a/build.sh +++ b/build.sh @@ -4,6 +4,10 @@ PNAME=console WORKBASE=/home/jenkins/go/src/infini.sh WORKDIR=$WORKBASE/$PNAME + +if [[ $VERSION =~ NIGHTLY ]]; then + BUILD_NUMBER=$BUILD_DAY +fi export DOCKER_CLI_EXPERIMENTAL=enabled #clean all