From 458d48430a0fdb958f0febc6f3e881bbd18bfeb0 Mon Sep 17 00:00:00 2001 From: Katrina Verey Date: Mon, 28 Mar 2022 18:45:07 -0400 Subject: [PATCH] Debug exit 141 failure --- releasing/compile-changelog.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/releasing/compile-changelog.sh b/releasing/compile-changelog.sh index f516dc60ab..54123eb4a5 100755 --- a/releasing/compile-changelog.sh +++ b/releasing/compile-changelog.sh @@ -29,7 +29,8 @@ fullTag=$2 changeLogFile="${3:-}" # Find previous tag that matches the tags module -prevTag=$(git tag -l "$module*" --sort=-version:refname --no-contains="$fullTag" | head -n 1) +allTags=$(git tag -l "$module*" --sort=-version:refname --no-contains="$fullTag") +prevTag=$(echo "$allTags" | head -n 1) echo "Compiling $module changes from $prevTag to $fullTag" commits=( $(git log "$prevTag".."$fullTag" \