Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/release_up/deps.ts>semver.inc

🌱 Automate releases with breeze
Go to Latest
function semver.inc
import { semver } from "https://deno.land/x/release_up@0.6.0/deps.ts";
const { inc } = semver;

Return the version incremented by the release type (major, minor, patch, or prerelease), or null if it's not valid.

Parameters

version: string | SemVer
release: ReleaseType
optional
optionsOrLoose: boolean | Options
optional
identifier: string

Returns

string | null