capabilities.work

Publish a Release and Upload an Asset

A 2-step recipe with GitHub. We can help you get access.

Recipe · 2 steps

Publish a Release and Upload an Asset

with GitHub · Software Construction Management

Create a release then upload a binary asset to it.

  1. Create the release for the supplied tag.
  2. Upload the binary asset to the newly created release using the release id returned by the create step.
What you'll need to have ready
  • githubToken: A GitHub token with repo scope, passed as a Bearer credential.
  • owner: The account owner of the repository.
  • repo: The name of the repository.
  • tagName: The name of the tag for the release.
  • releaseName: The display name of the release.
  • releaseBody: The description text of the release.
  • assetName: The file name of the asset to upload.
  • assetContent: The raw binary content of the asset to upload.
For your developer

Arazzo workflow github:publish-release-with-asset, 2 operations: repos/create-release → repos/upload-release-asset. Specs on APIs.io.