Skip to content

Commit 8230ca7

Browse files
authored
fix(git-cliff-release): Handle rc tags (#213)
1 parent 8b390d9 commit 8230ca7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git-cliff-release/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ runs:
6969
shell: bash
7070
working-directory: ${{ github.workspace }}/__release_metadata_repo
7171
run: |
72-
if git tag | grep -e '[ab][0-9]' -e '-beta\.' -e '-alpha\.' > /dev/null 2> /dev/null; then
73-
git tag | grep -e '[ab][0-9]' -e '-beta\.' -e '-alpha\.' | xargs -r git tag --delete
72+
if git tag | grep -e '[ab][0-9]' -e 'rc[0-9]' -e '-beta\.' -e '-alpha\.' -e '-rc\.' > /dev/null 2> /dev/null; then
73+
git tag | grep -e '[ab][0-9]' -e 'rc[0-9]' -e '-beta\.' -e '-alpha\.' -e '-rc\.' | xargs -r git tag --delete
7474
fi
7575
- name: Determine version number
7676
id: version_number

0 commit comments

Comments
 (0)