diff --git a/.github/workflows/submit-release.yml b/.github/workflows/submit-release.yml index 4fc105bfb..81263dcd9 100644 --- a/.github/workflows/submit-release.yml +++ b/.github/workflows/submit-release.yml @@ -52,6 +52,7 @@ jobs: git add . git commit -m "Remove Unwanted Files" news=$(awk '/^## /{rel_num++} {if(rel_num==2){exit} if(rel_num==1){print}}' changelog.txt | sed -E 's/ ?#[[:digit:]]+[., ]?//;s/\r//') + version=$(xmlstarlet sel -t -v 'string(/addon/@version)' addon.xml) xmlstarlet ed -L -P \ -s '/addon/extension[@point="xbmc.addon.metadata"]' -t elem -n news -v "${news:0:1500}" \ -u '/addon/@version' -v "${version}+nexus.1" \