mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
VERSIONING: fixed module
This commit is contained in:
parent
2eff0b66b0
commit
af56a4c734
|
@ -28,11 +28,11 @@ finish-args:
|
||||||
- --talk-name=org.freedesktop.login1
|
- --talk-name=org.freedesktop.login1
|
||||||
- --filesystem=xdg-run/app/com.discordapp.Discord:create
|
- --filesystem=xdg-run/app/com.discordapp.Discord:create
|
||||||
# Yuzu
|
# Yuzu
|
||||||
- --filesystem=home:ro
|
# - --filesystem=home:ro # This may break Yuzu, let's see
|
||||||
# - --filesystem=/run/media:ro
|
# - --filesystem=/run/media:ro
|
||||||
# Dolphin
|
# Dolphin
|
||||||
- --allow=bluetooth
|
- --allow=bluetooth
|
||||||
#- --env=QT_QPA_PLATFORM=xcb not sure if this will break something
|
#- --env=QT_QPA_PLATFORM=xcb #not sure if this will break something
|
||||||
# rpcs3
|
# rpcs3
|
||||||
- --socket=fallback-x11
|
- --socket=fallback-x11
|
||||||
|
|
||||||
|
@ -60,15 +60,22 @@ cleanup-commands:
|
||||||
|
|
||||||
modules:
|
modules:
|
||||||
|
|
||||||
|
# This module is used to define the RetroDECK version
|
||||||
|
# If the version is set as cooker it will automatically generate the version tag based on the date
|
||||||
|
# else it will just put what is written, "v" is not needed
|
||||||
|
# The version number is stored in /var/conf/retrodeck/version
|
||||||
|
#
|
||||||
|
# UPDATE STEPS FOR MAIN:
|
||||||
|
# [ ] Update the VERSION variable
|
||||||
|
# [ ] Update the appdata.xml with the version number and notes
|
||||||
|
#
|
||||||
- name: version-initialization
|
- name: version-initialization
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
sources:
|
build-commands:
|
||||||
- type: shell
|
- mkdir -p ${FLATPAK_DEST}/retrodeck/
|
||||||
commands:
|
- VERSION="cooker"
|
||||||
- mkdir -p ${FLATPAK_DEST}/retrodeck/
|
- if [ $VERSION == "cooker" ]; then VERSION=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')-$(date +'%Y%m%d_%H%M'); fi
|
||||||
- VERSION="cooker" # REMEMBER TO CHANGE THE VERSION BEFORE PUBLISHING (AND UPDATE THE APPDATA)
|
- $VERSION >> ${FLATPAK_DEST}/retrodeck/version
|
||||||
- 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
|
|
||||||
|
|
||||||
- name: xmlstarlet
|
- name: xmlstarlet
|
||||||
config-opts:
|
config-opts:
|
||||||
|
@ -1019,8 +1026,6 @@ modules:
|
||||||
- mkdir -p ${FLATPAK_DEST}/share/appdata
|
- mkdir -p ${FLATPAK_DEST}/share/appdata
|
||||||
- cp net.retrodeck.retrodeck.appdata.xml ${FLATPAK_DEST}/share/appdata
|
- cp net.retrodeck.retrodeck.appdata.xml ${FLATPAK_DEST}/share/appdata
|
||||||
|
|
||||||
|
|
||||||
#cleanup: ['*']
|
|
||||||
sources:
|
sources:
|
||||||
- type: file
|
- type: file
|
||||||
path: es_find_rules.xml
|
path: es_find_rules.xml
|
||||||
|
|
Loading…
Reference in a new issue