Skip to content

Commit

Permalink
Also remove alpha tags in git-cliff-release action (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
janbuchar authored Oct 29, 2024
1 parent f4a3cc0 commit 82face2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions git-cliff-release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ runs:
- name: Install git-cliff
shell: bash
run: pip install git-cliff
- name: Locally remove beta tags
- name: Locally remove pre-release tags
shell: bash
working-directory: ${{ github.workspace }}/__release_metadata_repo
run: |
if git tag | grep -e 'b[0-9]' -e '-beta\.' > /dev/null 2> /dev/null; then
git tag | grep -e 'b[0-9]' -e '-beta\.' | xargs -r git tag --delete
if git tag | grep -e '[ab][0-9]' -e '-beta\.' -e '-alpha\.' > /dev/null 2> /dev/null; then
git tag | grep -e '[ab][0-9]' -e '-beta\.' -e '-alpha\.' | xargs -r git tag --delete
fi
- name: Determine version number
id: version_number
Expand Down

0 comments on commit 82face2

Please sign in to comment.