Skip to content

Commit

Permalink
Support lightweight tags #8
Browse files Browse the repository at this point in the history
  • Loading branch information
flenny authored Dec 11, 2023
2 parents 08dff5a + e423a84 commit 4fc7ae0
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 4fc7ae0

Please sign in to comment.