mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-17 22:35:39 +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
|
||||
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
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
|
|
|
@ -76,6 +76,8 @@ modules:
|
|||
- 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
|
||||
- $VERSION >> ${FLATPAK_DEST}/retrodeck/version
|
||||
- echo "DEBUG - reading version "
|
||||
- cat ${FLATPAK_DEST}/retrodeck/version
|
||||
|
||||
- name: xmlstarlet
|
||||
config-opts:
|
||||
|
@ -148,7 +150,7 @@ modules:
|
|||
- type: shell
|
||||
commands:
|
||||
- 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue