mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
TEST: printing version and description in release notes
This commit is contained in:
parent
35474be4fd
commit
ddad3071cc
8
.github/workflows/TEST_release_info.yml
vendored
8
.github/workflows/TEST_release_info.yml
vendored
|
@ -36,17 +36,17 @@ jobs:
|
||||||
id: version
|
id: version
|
||||||
run: |
|
run: |
|
||||||
appdata="https://raw.githubusercontent.com/XargonWan/RetroDECK/main/net.retrodeck.retrodeck.appdata.xml"
|
appdata="https://raw.githubusercontent.com/XargonWan/RetroDECK/main/net.retrodeck.retrodeck.appdata.xml"
|
||||||
version=$(curl -s $appdata | xmlstarlet sel -t -v "//release/@version" | head -1)
|
export REL_VER=$(curl -s $appdata | xmlstarlet sel -t -v "//release/@version" | head -1)
|
||||||
description="$(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
|
- name: Publish the flatpak in a new release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
tag: "${{ steps.version.version }}"
|
tag: "${{ steps.version.REL_VER }}"
|
||||||
body: |
|
body: |
|
||||||
# Release Notes
|
# Release Notes
|
||||||
|
|
||||||
"${{ steps.version.description }}"
|
"${{ steps.version.REL_DESC }}"
|
||||||
|
|
||||||
#artifacts: "RetroDECK.flatpak,RetroDECK-Artifact.tar.gz"
|
#artifacts: "RetroDECK.flatpak,RetroDECK-Artifact.tar.gz"
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
|
|
Loading…
Reference in a new issue