diff --git a/src/factories/versioning-strategy-factory.ts b/src/factories/versioning-strategy-factory.ts index 3a009b2ba..ba69b0714 100644 --- a/src/factories/versioning-strategy-factory.ts +++ b/src/factories/versioning-strategy-factory.ts @@ -29,6 +29,7 @@ export interface VersioningStrategyFactoryOptions { bumpMinorPreMajor?: boolean; bumpPatchForMinorPreMajor?: boolean; prereleaseType?: string; + prerelease?: boolean; github: GitHub; } diff --git a/src/factory.ts b/src/factory.ts index 1f215332a..db5ae352f 100644 --- a/src/factory.ts +++ b/src/factory.ts @@ -120,6 +120,7 @@ export async function buildStrategy( bumpMinorPreMajor: options.bumpMinorPreMajor, bumpPatchForMinorPreMajor: options.bumpPatchForMinorPreMajor, prereleaseType: options.prereleaseType, + prerelease: options.prerelease, }); const changelogNotes = buildChangelogNotes({ type: options.changelogType || 'default',