Skip to content

getLatestReleaseVersion

Resolves the latest release version (the release tag_name, a bare version such as 1.2.3) of a GitHub repository.

Import:

import { getLatestReleaseVersion } from 'obsidian-dev-utils/obsidian/community-plugins';

Signature:

function getLatestReleaseVersion(repo: string): Promise<string>

Parameters:

ParameterTypeDescription
repostringThe owner/name GitHub repository.

Returns: Promise<string> — A Promise resolving to the latest release version.