Skip to content

Commit

Permalink
fix: pass prerelease to buildVersioningStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Nov 15, 2023
1 parent 3a9a14f commit e56b040
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/factories/versioning-strategy-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export interface VersioningStrategyFactoryOptions {
bumpMinorPreMajor?: boolean;
bumpPatchForMinorPreMajor?: boolean;
prereleaseType?: string;
prerelease?: boolean;
github: GitHub;
}

Expand Down
1 change: 1 addition & 0 deletions src/factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit e56b040

Please sign in to comment.