UNPKG

@droidsolutions-oss/semantic-release-nuget

Version:

Semantic Release plugin to create and publish NuGet packages.

11 lines (10 loc) 387 B
/** * Checks if the given object is an {@link ExecaError}. * @param err The error to check. * @returns True if the error is an ExecaError, false otherwise. */ export const isExecaError = (err) => { return err.exitCode !== undefined && err.command !== undefined; }; export const packFailed = "EDOTNET_PACK_FAILED"; export const publishFailed = "EFAILED_TO_PUBLISH_NUGET_PACKAGE";