chore: more gh_release fixes

This commit is contained in:
td 2024-04-30 17:59:10 +05:30
parent f83351a4b5
commit 6dbbfb3f70
No known key found for this signature in database
GPG Key ID: 62A30523D4D6CE28
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ jobs:
version=$(echo ${{ github.ref_name }} | sed 's/^v//')
releaseRegex="^v[0-9]+\.[0-9]+\.[0-9]+$"
releaseCandidateRegex="^v[0-9]+\.[0-9]+\.[0-9]+rc[0-9]+$"
notes="$(./scripts/extract_changelog.sh $version)"
notes=$(./scripts/extract_changelog.sh $version)
if [ -z $notes ]; then
if [[ ${{ github.ref_name }} =~ $releaseRegex ]]; then
gh release create ${{ github.ref_name }} --notes $notes -t ${{ github.ref_name }} --verify-tag