Skip to content

Commit

Permalink
Added capabilities to pluginQA
Browse files Browse the repository at this point in the history
  • Loading branch information
al-af committed May 16, 2024
1 parent 29acbc6 commit 095127b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pluginQA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ jobs:

- name: Extract CHANGELOG latest changes
run: |
PACKAGE_CHANGES=$(awk -v ver="$PACKAGE_VERSION" '
PACKAGE_CHANGES=$(awk -v ver="$PACKAGE_VERSION" -v ORS=', ' '
BEGIN { printing = 0; }
printing && /^## / { exit; }
$0 ~ "^## " ver { printing = 1; next; }
printing { sub(/^-\s*/, ""); print; }
printing && NF { sub(/^-\s*/, ""); print; }
END { printf "\n" } # To ensure it ends with a newline
' CHANGELOG.md)
PACKAGE_CHANGES="${PACKAGE_CHANGES%', '}"
echo "PACKAGE_CHANGES<<EOF" >> $GITHUB_ENV
echo "$PACKAGE_CHANGES" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
Expand Down

0 comments on commit 095127b

Please sign in to comment.