From d4569671590381b97add3aeb3bedde16e71ad7a6 Mon Sep 17 00:00:00 2001 From: Matt Godbolt Date: Tue, 22 Aug 2023 18:58:42 -0500 Subject: [PATCH] Tweak to support no previous revision --- build/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build.sh b/build/build.sh index d5dcd2b..2e327ff 100755 --- a/build/build.sh +++ b/build/build.sh @@ -24,7 +24,7 @@ OUTPUT=$2/${FULLNAME} DOTNET_REVISION=$(git ls-remote --heads ${URL} refs/heads/"${BRANCH}" | cut -f 1) REVISION="dotnet-${DOTNET_REVISION}" -LAST_REVISION="${3}" +LAST_REVISION="${3:-}" echo "ce-build-revision:${REVISION}" echo "ce-build-output:${OUTPUT}"