mirror of
https://github.com/unraid/api.git
synced 2026-01-04 23:50:37 -06:00
fix: version and EOF key
This commit is contained in:
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@@ -205,12 +205,12 @@ jobs:
|
||||
|
||||
- name: Write Changelog to Plugin XML
|
||||
run: |
|
||||
notes=$(cat << EOF
|
||||
notes=$(cat <<EOF
|
||||
Pull Request Build: ${{ github.event.pull_request.number }}
|
||||
$(git log -1 --pretty=%B)
|
||||
EOF
|
||||
EOF
|
||||
)
|
||||
escapedNotes=$(sed -e 's/[&\\/]/\\&/g; s/$/\\/' -e '$s/\\$//' <<<"$notes")
|
||||
escapedNotes=$(echo "$notes" | sed -e 's/[&\\/]/\\&/g; s/$/\\/' -e '$s/\\$//')
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user