From 67eed8d2621b4c06938544c73a926936f2d851e7 Mon Sep 17 00:00:00 2001 From: TapTap Date: Sat, 14 Nov 2026 22:01:30 +0000 Subject: [PATCH] chart: link the README release to the public source repository GITHUB_SERVER_URL in Actions points at the internal gitea-service host, so the generated commit link was not reachable. Derive the public host from the published chart URL (override with SOURCE_SERVER_URL). Also refresh the chart description: the server is no longer Subsonic. --- charts/audiomanager/Chart.yaml | 2 +- scripts/push-chart.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/audiomanager/Chart.yaml b/charts/audiomanager/Chart.yaml index a841a3e..3064055 100644 --- a/charts/audiomanager/Chart.yaml +++ b/charts/audiomanager/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: audiomanager -description: Self-hosted OpenSubsonic music server +description: Mood-first self-hosted music server type: application version: 0.2.1 appVersion: "0.1.0" diff --git a/scripts/push-chart.sh b/scripts/push-chart.sh index d669c31..51ed163 100755 --- a/scripts/push-chart.sh +++ b/scripts/push-chart.sh @@ -104,7 +104,9 @@ helm repo index "$workdir/repo" --url "$CHARTS_RAW_URL" app_version="$(awk '/^appVersion:/ { print $2; exit }' "$CHART_DIR/Chart.yaml" | tr -d '"')" source_sha="${GITHUB_SHA:-$(git -C "$ROOT" rev-parse HEAD)}" source_repo="${GITHUB_REPOSITORY:-TapTap/AudioManager}" -source_server="${GITHUB_SERVER_URL:-https://gitea.tap-tap.win}" +# GITHUB_SERVER_URL is the internal Actions service URL, so derive the public +# host from the published raw URL instead. +source_server="${SOURCE_SERVER_URL:-$(printf '%s' "$CHARTS_RAW_URL" | sed -E 's#^(https?://[^/]+).*#\1#')}" published_at="$(date -u '+%Y-%m-%d %H:%M UTC')" newest_charts="$(