From 62c33bbc736b88cd7941bb6233b279a7675445ad Mon Sep 17 00:00:00 2001 From: Florian Brinker Date: Mon, 10 May 2021 22:42:30 +0200 Subject: [PATCH] Fix script condition --- check-master-for-changes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-master-for-changes.sh b/check-master-for-changes.sh index b8c860e..e4da20d 100755 --- a/check-master-for-changes.sh +++ b/check-master-for-changes.sh @@ -13,7 +13,7 @@ echo "Last commit was $commitdate and is $commitdays days ago." if [ $commitdays -lt 2 ]; then echo "Found recent commits in the repository." echo "Continuing with pipeline..." -elif [ !docker_tag_exists ]; then +elif ! docker_tag_exists; then echo "Missing an nightly build." echo "Continuing with pipeline..." else