mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
TEST: printing version and description in release notes
This commit is contained in:
parent
12c55df321
commit
3f2ad28f5c
13
.github/workflows/TEST_release_info.yml
vendored
13
.github/workflows/TEST_release_info.yml
vendored
|
@ -39,10 +39,9 @@ jobs:
|
|||
REL_VER=$(curl -s $appdata | xmlstarlet sel -t -v "//release/@version" | head -1)
|
||||
DES="$(curl -s $appdata | xmlstarlet sel -t -m "//release[1]" -v "description" -n | sed '1,2d;$d;s/^ */- /;/^- $/d')"
|
||||
echo "REL_VER=$REL_VER" >> $GITHUB_ENV
|
||||
REL_DES=$(echo "$DES" | sed ':a;N;$!ba;s/\n/\\n/g')
|
||||
echo "REL_DES=$REL_DES" >> $GITHUB_ENV
|
||||
|
||||
|
||||
#REL_DES=$(echo "$DES" | sed ':a;N;$!ba;s/\n/\\n/g')
|
||||
#echo "REL_DES=$REL_DES" >> $GITHUB_ENV
|
||||
echo "$DES" >> "body.md"
|
||||
|
||||
- name: Publish the flatpak in a new release
|
||||
uses: ncipollo/release-action@v1
|
||||
|
@ -51,11 +50,7 @@ jobs:
|
|||
REL_DES: ${{ env.REL_DES }}
|
||||
with:
|
||||
tag: "$REL_VER"
|
||||
body: |
|
||||
# Release Notes
|
||||
|
||||
"$REL_DES"
|
||||
|
||||
bodyFile: "body.md"
|
||||
#artifacts: "RetroDECK.flatpak,RetroDECK-Artifact.tar.gz"
|
||||
allowUpdates: true
|
||||
draft: true
|
||||
|
|
Loading…
Reference in a new issue