validateReleaseTag
Validates a release tag against the manifest version: the directory looks the release up by a tag equal to manifest.json’s version, so a v prefix or any other difference leaves it with no release to install.
Import:
import { validateReleaseTag } from '@mnaoumov/obsidian-dev-toolkit/plugin-release-checks';Signature:
function validateReleaseTag(tag: string, manifestVersion: string | null | undefined): PluginCheckFinding[]Parameters:
| Parameter | Type | Description |
|---|---|---|
tag |
string | The release tag. |
manifestVersion |
string | null | undefined | The version of manifest.json, or null / undefined when it has none. |
Returns: PluginCheckFinding[] — The findings, empty when the tag is the manifest version.