fix pattern matching for release tags

develop
Myk Taylor 2023-09-06 15:25:13 -07:00
parent 47666e12cd
commit ce2f35a2f1
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -40,7 +40,7 @@ jobs:
run: | run: |
TAG=$(git describe --tags --abbrev=0 --exact-match) TAG=$(git describe --tags --abbrev=0 --exact-match)
echo name="$TAG" >> $GITHUB_OUTPUT echo name="$TAG" >> $GITHUB_OUTPUT
echo type=$(echo "$TAG" | egrep '-r[0-9]+$' && echo "release" || echo "prerelease") >> $GITHUB_OUTPUT echo type=$(echo "$TAG" | egrep 'r[0-9]+$' && echo "release" || echo "prerelease") >> $GITHUB_OUTPUT
- name: Generate release text - name: Generate release text
run: | run: |
python docs/gen_changelog.py -a python docs/gen_changelog.py -a