VERSIONING: fixed in ES-DE -fix3

This commit is contained in:
Xargon 2022-05-25 16:28:49 +09:00
parent 15697c31a1
commit 915cf9aba4

View file

@ -74,7 +74,7 @@ modules:
build-commands:
- mkdir -p ${FLATPAK_DEST}/retrodeck/
- 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
- echo "DEBUG - reading version "
- cat ${FLATPAK_DEST}/retrodeck/version