mirror of
https://github.com/shadoll/helm-charts.git
synced 2026-08-28 03:27:08 +00:00
fix(jellyfin): downgrade to v10.11.10, exclude v10.11.11 from auto-update
v10.11.11 has a broken UpdateNormalizedUsername migration that queries a column that was never added to the schema. Pin to v10.11.10 and add version-exclude support to the update script so the daily bot skips the broken version until upstream fixes it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -108,6 +108,7 @@ for chart_dir in "$REPO_ROOT"/*/; do
|
||||
# Parse metadata
|
||||
source_type=$(grep "version-source:" "$chart_yaml" | sed 's/.*version-source: *//' | tr -d ' ' || true)
|
||||
source_pattern=$(grep "version-pattern:" "$chart_yaml" | sed 's/.*version-pattern: *//' | sed 's/^"\(.*\)"$/\1/' || true)
|
||||
version_exclude=$(grep "version-exclude:" "$chart_yaml" | sed 's/.*version-exclude: *"\([^"]*\)".*/\1/' || true)
|
||||
current_app_version=$(grep "^appVersion:" "$chart_yaml" | head -1 | sed 's/.*appVersion: *"\([^"]*\)".*/\1/' || true)
|
||||
current_chart_version=$(grep "^version:" "$chart_yaml" | head -1 | sed 's/.*version: *//' | tr -d ' ' || true)
|
||||
|
||||
@@ -132,6 +133,11 @@ for chart_dir in "$REPO_ROOT"/*/; do
|
||||
continue
|
||||
fi
|
||||
|
||||
if [ -n "$version_exclude" ] && [ "$latest_clean" = "$version_exclude" ]; then
|
||||
echo " Skipping excluded version: $latest_clean"
|
||||
continue
|
||||
fi
|
||||
|
||||
echo " Current: $current_app_version | Latest: $latest_clean"
|
||||
|
||||
# Compare and Update
|
||||
|
||||
Reference in New Issue
Block a user