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 '@mnaoumov/obsidian-lib/community-plugins';

Signature:

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

Parameters:

Parameter Type Description
repo string The owner/name GitHub repository.

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