[build] Fix changelog

Bug in c4b6c5c7c9
pull/4606/head
pukkandan 2 years ago
parent f1e2d4a9a2
commit 81e0195998
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -257,7 +257,7 @@ jobs:
- name: Get Changelog
run: |
changelog=$(grep -oPz '(?s)(?<=### ${{ steps.bump_version.outputs.ytdlp_version }}\n{2}).+?(?=\n{2,3}###)' Changelog.md) || true
changelog=$(grep -oPz '(?s)(?<=### ${{ needs.prepare.outputs.ytdlp_version }}\n{2}).+?(?=\n{2,3}###)' Changelog.md) || true
echo "changelog<<EOF" >> $GITHUB_ENV
echo "$changelog" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV

Loading…
Cancel
Save