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.
This commit is contained in:
1 parent
f1dc60aae5
commit
67eed8d262
2 files changed
+4
-2
No files matched your search
@@ -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="$(
|
||||
|
||||
Reference in new issue
Block a user