diff --git a/src/config b/src/config index d0a9cc5..001038d 100644 --- a/src/config +++ b/src/config @@ -1,5 +1,5 @@ export DIST_NAME=MonsterPi -export DIST_VERSION=0.2.2 +export DIST_VERSION=0.2.3 export BASE_DISTRO=ubuntu export BASE_ARCH=aarch64 diff --git a/src/modules/monsterpi/config b/src/modules/monsterpi/config index bcf21b7..5e1506f 100644 --- a/src/modules/monsterpi/config +++ b/src/modules/monsterpi/config @@ -11,4 +11,4 @@ [ -n "$MONSTERPI_INCLUDE_HAPROXY" ] || MONSTERPI_INCLUDE_HAPROXY=yes # FDM Monster version -[ -n "$MONSTERPI_FDMMONSTER_VERSION" ] || MONSTERPI_FDMMONSTER_VERSION=1.4.0 \ No newline at end of file +[ -n "$MONSTERPI_FDMMONSTER_VERSION" ] || MONSTERPI_FDMMONSTER_VERSION=1.4.5 \ No newline at end of file diff --git a/src/modules/monsterpi/start_chroot_script b/src/modules/monsterpi/start_chroot_script index 96edbd9..a9330c5 100644 --- a/src/modules/monsterpi/start_chroot_script +++ b/src/modules/monsterpi/start_chroot_script @@ -16,9 +16,10 @@ repo_url="https://github.com/${org}/${repo}" # Fetch latest release of FDM Monster if [ -z ${MONSTERPI_FDMMONSTER_VERSION+x} ] then + # This will not download RC or unstable versions due to the x.y.z grep regex filter tag=$(git ls-remote --tags $repo_url | awk -F"/" '{print $NF}' | grep -E "^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+$" | sort -V | tail -1) echo "Git tag loaded $tag" -else +else tag=${MONSTERPI_FDMMONSTER_VERSION} echo "Preset tag used $tag" fi