Skip to content

docs: correct github-releases URL pattern - #407

Open
sylr wants to merge 1 commit into
block:mainfrom
sylr:docs/github-releases-url-pattern
Open

docs: correct github-releases URL pattern#407
sylr wants to merge 1 commit into
block:mainfrom
sylr:docs/github-releases-url-pattern

Conversation

@sylr

@sylr sylr commented Aug 18, 2026

Copy link
Copy Markdown

The README documents the github-releases strategy as /github-releases/{owner}/{repo}/{tag}/{asset}, but no such route is registered.

The strategy registers GET /github.com/{org}/{repo}/releases/download/{rest...} (internal/strategy/github_releases.go:75), mirroring the upstream GitHub download path — which is also how the hermit strategy redirects into it.

Docs-only change.

The documented `/github-releases/{owner}/{repo}/{tag}/{asset}` prefix is
not registered anywhere; the strategy serves
`GET /github.com/{org}/{repo}/releases/download/{rest...}`, mirroring the
upstream GitHub download path.
@sylr
sylr requested a review from a team as a code owner August 18, 2026 12:38
@sylr
sylr requested review from alecthomas and removed request for a team August 18, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant