mirror of
https://github.com/unraid/api.git
synced 2026-01-05 16:09:49 -06:00
fix: trigger loading correctly
This commit is contained in:
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user