TEST: printing version and description in release notes

This commit is contained in:
XargonWan 2023-03-17 14:42:52 +00:00
parent ddad3071cc
commit 78bab6db86

View file

@ -37,7 +37,7 @@ jobs:
run: |
appdata="https://raw.githubusercontent.com/XargonWan/RetroDECK/main/net.retrodeck.retrodeck.appdata.xml"
export REL_VER=$(curl -s $appdata | xmlstarlet sel -t -v "//release/@version" | head -1)
EXPORT REL_DESC="$(curl -s $appdata | xmlstarlet sel -t -m "//release[1]" -v "description" -n | sed '1,2d;$d;s/^ */- /;/^- $/d')"
export REL_DESC="$(curl -s $appdata | xmlstarlet sel -t -m "//release[1]" -v "description" -n | sed '1,2d;$d;s/^ */- /;/^- $/d')"
- name: Publish the flatpak in a new release
uses: ncipollo/release-action@v1