diff --git a/gitlab/hooks/pre-start b/gitlab/hooks/pre-start index 6289e604..8518428a 100755 --- a/gitlab/hooks/pre-start +++ b/gitlab/hooks/pre-start @@ -32,7 +32,7 @@ VERSIONS+=("18.5.1") VERSIONS+=("18.6.2") VERSIONS+=("18.7.4") VERSIONS+=("18.8.4") -VERSIONs+=("18.9.3") +VERSIONS+=("18.9.3") VERSIONS+=("18.10.1") # List of images on migration path @@ -167,6 +167,12 @@ if [[ "${VERSIONS[-1]}" == "${current_version}" ]]; then exit fi +# Guard against migration logic bugs due to version/image list drift. +if [[ "${#VERSIONS[@]}" -ne "${#IMAGES[@]}" ]]; then + echo "Migration configuration error: VERSIONS (${#VERSIONS[@]}) and IMAGES (${#IMAGES[@]}) length mismatch." + exit 1 +fi + # Loop through versions, ignoring past versions for i in "${!VERSIONS[@]}"; do [[ "${i}" -le "${active_version_idx}" ]] && continue diff --git a/gitlab/umbrel-app.yml b/gitlab/umbrel-app.yml index 7bf51cc3..fbf7115d 100644 --- a/gitlab/umbrel-app.yml +++ b/gitlab/umbrel-app.yml @@ -3,7 +3,7 @@ id: gitlab name: GitLab tagline: Software. Faster. category: developer -version: "18.10.1" +version: "18.10.1-1" port: 8929 description: >- ⚠️ This app is RAM-intensive (+6GB recommended) and can take 15-20 minutes to start after installation on low-powered devices.