Skip to content

Workflows.PublishRelease

go
func (workflowClient) PublishRelease(
    ctx context.Context,
    workflowReference string,
    artifactID uuid.UUID,
    content *workflows.ReleaseContent,
) (*workflows.WorkflowRelease, error)

Publish an immutable release for a workflow.

Parameters

workflowReference string required

The remote workflow reference, not a project slug or UUID.

artifactID uuid.UUID required

The ID of the release artifact.

content *workflows.ReleaseContent required

The files, local task names and versions, runner object path, and optional command override included in the release. Task definitions remain unbound; release runners add the workflow scope when advertising executable tasks.

Returns

The published workflow release, including any clusters where the release is deployed.

Type to search…