From f5ff79e93423eb6499877265082177717324577d Mon Sep 17 00:00:00 2001 From: Alex Atkinson Date: Fri, 20 Dec 2024 16:39:54 -0500 Subject: [PATCH] THX-1138: Debug output. --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 037b0dd..9cf9c4b 100644 --- a/action.yml +++ b/action.yml @@ -54,6 +54,7 @@ runs: [[ "${{ github.event.inputs.mono-repo-product-name }}" != "" ]] && opt='$opt -n ${{ github.event.inputs.mono-repo-product-name }}' [[ "${{ github.event.inputs.mono-repo-product-path }}" != "" ]] && opt='$opt -d ${{ github.event.inputs.mono-repo-product-path }}' new_version="$(${{ github.action_path }}/scripts/detectNewVersion.sh $opt)" || true + debug_cmd="echo ${{ github.action_path }}/scripts/detectNewVersion.sh $opt" || true echo "new-version=$new_version" | tee $GITHUB_OUTPUT if [[ "$new_version" =~ "520" ]]; then echo -e "ERROR: 520 - You must source this script when specifying an environment variable! Eg: '. ./foo.sh -e bar_ver'"