updateVersion
Releases the plugin. See the @file overview for what it adds to the generic release.
Import:
import { updateVersion } from '@mnaoumov/obsidian-dev-toolkit/version';Signature:
function updateVersion(versionUpdateType: string | undefined, options: UpdateVersionOptions): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
versionUpdateType |
string | undefined | The type of version update to perform (major, minor, patch, premajor, preminor, prepatch, prerelease, or x.y.z[-suffix]). |
options |
UpdateVersionOptions | The UpdateVersionOptions controlling the release behavior. |
Returns: Promise<void> — A Promise that resolves when the release is complete.
Links to this page: