mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
VERSIONING: fixed in ES-DE -fix6
This commit is contained in:
parent
df7ffaa121
commit
bf75b6ee59
|
@ -72,12 +72,20 @@ modules:
|
||||||
- name: version-initialization
|
- name: version-initialization
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
build-commands:
|
build-commands:
|
||||||
- mkdir -p ${FLATPAK_DEST}/retrodeck/
|
- |
|
||||||
- VERSION="cooker"
|
git checkout ${GITHUB_REF_NAME}
|
||||||
- if [[ $VERSION == "cooker" ]]; then VERSION=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')-$(date +'%Y%m%d_%H%M'); fi
|
mkdir -p ${FLATPAK_DEST}/retrodeck/
|
||||||
- echo $VERSION >> ${FLATPAK_DEST}/retrodeck/version
|
VERSION="cooker"
|
||||||
- echo "DEBUG - reading version "
|
if [[ $VERSION == "cooker" ]];
|
||||||
- cat ${FLATPAK_DEST}/retrodeck/version
|
then
|
||||||
|
VERSION=$(git describe --tags | tr - .)
|
||||||
|
fi
|
||||||
|
echo $VERSION >> ${FLATPAK_DEST}/retrodeck/version
|
||||||
|
cat ${FLATPAK_DEST}/retrodeck/version
|
||||||
|
sources:
|
||||||
|
- type: git
|
||||||
|
url: https://github.com/XargonWan/RetroDECK.git
|
||||||
|
branch: cooker
|
||||||
|
|
||||||
- name: xmlstarlet
|
- name: xmlstarlet
|
||||||
config-opts:
|
config-opts:
|
||||||
|
|
Loading…
Reference in a new issue