nextSnapshotVersion
Function: nextSnapshotVersion()
nextSnapshotVersion(
version,date?):string
Defined in: packages/core/src/deployers/git.ts:14
Compute the snapshot version used when the current commit is not tagged with the package version
The patch is incremented (or the prerelease dropped) and the build metadata is the date
as yyyymmddHHMMssl: 1.2.3 becomes 1.2.4+20261004130507009
Parameters
version
string
the package version
date?
Date = ...
the snapshot date
Returns
string
the snapshot version, or the version unchanged if it is not semver