fix: trigger loading correctly

This commit is contained in:
Eli Bosley
2024-10-25 23:19:43 -04:00
parent 885d1537b6
commit 58665a4e98
4 changed files with 820 additions and 514 deletions

View File

@@ -203,6 +203,16 @@ jobs:
with:
name: connect-files
- name: Write Changelog to Plugin XML
run: |
notes=$(cat << EOF
Pull Request Build: ${{ github.event.pull_request.number }}
$(git log -1 --pretty=%B)
EOF
)
escapedNotes=$(sed -e 's/[&\\/]/\\&/g; s/$/\\/' -e '$s/\\$//' <<<"$notes")
sed -i -z -E "s/<CHANGES>(.*)<\/CHANGES>/<CHANGES>\n${escapedNotes}\n<\/CHANGES>/g" "dynamix.unraid.net.staging.plg"
- name: Copy other release files to pr-release
run: |
cp archive/dynamix.unraid.net.staging-*.txz pr-release/