Skip to content

closeReleasedIssues

Closes the issues the release of CloseReleasedIssuesParams.newVersion carries, as described in the file overview.

A failure to read or update one issue is reported and the rest are still processed, because the release is already published by the time this runs and nothing about it can be undone.

Import:

import { closeReleasedIssues } from 'obsidian-dev-utils/script-utils/released-issues';

Signature:

function closeReleasedIssues(params: CloseReleasedIssuesParams): Promise<number[]>

Parameters:

Parameter Type Description
params CloseReleasedIssuesParams The CloseReleasedIssuesParams.

Returns: Promise<number[]> — A Promise that resolves to the numbers of the issues that could not be processed.


Links to this page: