Update release.yml

This commit is contained in:
Kenneth Hendricks 2024-10-22 18:22:46 -04:00 committed by GitHub
parent c025e47292
commit 3a7ae1ca72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,11 +4,10 @@ on:
push:
tags:
- 'v*.*.*'
workflow_dispatch:
workflow_dispatch: # This allows you to manually trigger the workflow from GitHub UI
permissions:
contents: read
releases: write
contents: write # Grants write access to the repository content (including releases)
jobs:
build-and-release:
@ -42,7 +41,6 @@ jobs:
awk "/^## \[$VERSION\]/, /^## \[/" CHANGELOG.md >> release_notes.md
if ! grep -q "## \[$VERSION\]" release_notes.md; then
cat RELEASE.HEAD.md >> release_notes.md
fi
- name: Create GitHub Release
id: create_release