Skip to content

Commit

Permalink
fix: pass prerelease to buildVersioningStrategy (#2133)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeff Ching <chingor@google.com>
  • Loading branch information
lukekarrys and chingor13 authored Nov 27, 2023
1 parent ee6d82f commit c9450df
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 c9450df

Please sign in to comment.