From e423a84876affa195beedcd1b576b26c9d86dcb8 Mon Sep 17 00:00:00 2001 From: Dorian Westacott Date: Fri, 8 Dec 2023 12:21:58 -0600 Subject: [PATCH] Update action.yml: catch lightweight tags --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index b7bc838..e6f9801 100644 --- a/action.yml +++ b/action.yml @@ -20,7 +20,7 @@ runs: - name: Collect issue numbers since last release/tag run: | export LC_ALL=en_US.utf8 - git log $(git describe --abbrev=0 2> /dev/null || git rev-list --max-parents=0 HEAD)..HEAD | \ + git log $(git describe --abbrev=0 --tags 2> /dev/null || git rev-list --max-parents=0 HEAD)..HEAD | \ grep -oE "${{ inputs.jira-project-key }}-[[:digit:]]{1,}" | sort | uniq | \ sed 's/^\|$/"/g' | paste -sd , - | awk '{print "RELATED_JIRA_ISSUES="$0}' >> $GITHUB_ENV shell: bash