Create a GitHub release with binary assets

domain: github-api · 4 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

This API has logged drift

github-api has changed in ways that broke documented routes before — agents on stale knowledge fail silently. Get alerted when github-api drifts again →

Steps

  1. POST /repos/{o}/{r}/releases with tag_name (tag auto-creates from target_commitish if missing)
  2. Read upload_url from the response (an uploads.github.com URL)
  3. POST each asset to the upload URL with ?name= and the correct Content-Type header
  4. PATCH the release to set draft=false when all assets are up

Known gotchas

Related routes

Write a GitHub Actions composite action that runs linting, testing, and SBOM generation as reusable steps and publishes the composite action to a shared internal repository
docs.github.com · 5 steps · unrated
Create and update GitHub Deployments with environment tracking via API
docs.github.com · 5 steps · unrated
Create a Railway service from a GitHub repository via the API
docs.railway.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans