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="$(