Publish Release With Asset
A 2-step recipe with Gitea. We can help you get access.
Recipe · 2 steps
Publish Release With Asset
with Gitea · Software Construction Management
Create a release and upload an asset to it.
- Create a release for the supplied tag.
- Upload a build artifact as a named attachment on the release.
What you'll need to have ready
- authToken: Authorization header value, e.g. "token <personal-access-token>".
- owner: Owner of the repository.
- repo: Name of the repository.
- tagName: Existing or new git tag the release is created for.
- releaseName: Display title of the release.
- releaseBody: Release notes shown on the release page.
- targetCommitish: Branch or commit the tag is created from when it does not yet exist.
- attachmentName: File name to store the uploaded asset under.
- attachment: The asset file contents to upload.
For your developer
Arazzo workflow gitea:release-with-asset, 2 operations: repoCreateRelease → repoCreateReleaseAttachment. Specs on APIs.io.