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