Fix release version tag
Some checks failed
Build Ghidra Plugin / build (push) Has been cancelled

This commit is contained in:
Teal Bauer 2025-04-02 20:41:31 +02:00
parent 9aa93c4933
commit 89396469b2

View File

@ -86,10 +86,10 @@ jobs:
# Extract the changelog section for this version # Extract the changelog section for this version
awk -v version="$VERSION" ' awk -v version="$VERSION" '
BEGIN { print=0 } BEGIN { print_section=0; }
/^## \['version'\]/ { print=1; next } $0 ~ "^## \\[" version "\\]" { print_section=1; next }
/^## \[/ && print { print=0; next } $0 ~ "^## \\[" && print_section { print_section=0; next }
print { print $0 } print_section
' CHANGELOG.md > release_notes.md ' CHANGELOG.md > release_notes.md
echo "RELEASE_NOTES_FILE=release_notes.md" >> $GITHUB_OUTPUT echo "RELEASE_NOTES_FILE=release_notes.md" >> $GITHUB_OUTPUT