Skip to content

Commit

Permalink
Update action.yml: catch lightweight tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dodrian authored Dec 8, 2023
1 parent 08dff5a commit e423a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e423a84

Please sign in to comment.