mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-18 06:45:38 +00:00
VERSIONING: added some debug code
This commit is contained in:
parent
9848bb8a1f
commit
3469db3f45
7
.github/workflows/cooker.yml
vendored
7
.github/workflows/cooker.yml
vendored
|
@ -156,6 +156,13 @@ jobs:
|
||||||
id: version
|
id: version
|
||||||
run: echo "##[set-output name=version;]$(cat $(find . -name version))"
|
run: echo "##[set-output name=version;]$(cat $(find . -name version))"
|
||||||
|
|
||||||
|
- name: DEBUG - Print version name
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
echo "DEBUG: printing version from version file"
|
||||||
|
echo "${{ steps.version.outputs.version }}"
|
||||||
|
id: extract_branch
|
||||||
|
|
||||||
- name: Publish the flatpak in a new cooker release
|
- name: Publish the flatpak in a new cooker release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -76,6 +76,8 @@ modules:
|
||||||
- VERSION="cooker"
|
- VERSION="cooker"
|
||||||
- if [ $VERSION == "cooker" ]; then VERSION=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')-$(date +'%Y%m%d_%H%M'); fi
|
- if [ $VERSION == "cooker" ]; then VERSION=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')-$(date +'%Y%m%d_%H%M'); fi
|
||||||
- $VERSION >> ${FLATPAK_DEST}/retrodeck/version
|
- $VERSION >> ${FLATPAK_DEST}/retrodeck/version
|
||||||
|
- echo "DEBUG - reading version "
|
||||||
|
- cat ${FLATPAK_DEST}/retrodeck/version
|
||||||
|
|
||||||
- name: xmlstarlet
|
- name: xmlstarlet
|
||||||
config-opts:
|
config-opts:
|
||||||
|
@ -148,7 +150,7 @@ modules:
|
||||||
- type: shell
|
- type: shell
|
||||||
commands:
|
commands:
|
||||||
- sed -i 's/QUIT EMULATIONSTATION/QUIT RETRODECK/g' es-app/src/guis/GuiMenu.cpp
|
- sed -i 's/QUIT EMULATIONSTATION/QUIT RETRODECK/g' es-app/src/guis/GuiMenu.cpp
|
||||||
- sed -i 's#"EMULATIONSTATION-DE V" + Utils::String::toUpper(PROGRAM_VERSION_STRING)#"RetroDECK v$(cat ${FLATPAK_DEST}/retrodeck/version), ES-DE v" + Utils::String::toUpper(PROGRAM_VERSION_STRING)#g' es-app/src/guis/GuiMenu.cpp
|
- sed -i 's#"EMULATIONSTATION-DE V" + Utils::String::toUpper(PROGRAM_VERSION_STRING)#"RetroDECK v$((cat ${FLATPAK_DEST}/retrodeck/version)), ES-DE v" + Utils::String::toUpper(PROGRAM_VERSION_STRING)#g' es-app/src/guis/GuiMenu.cpp
|
||||||
|
|
||||||
# ES-DE - END
|
# ES-DE - END
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue