Skip to content

Commit

Permalink
remove prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
kalosisz committed Sep 19, 2023
1 parent 4287a0c commit af22aea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/strategies/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export interface BaseStrategyOptions {
component?: string;
packageName?: string;
versioningStrategy?: VersioningStrategy;
prerelease?: boolean;
targetBranch: string;
changelogPath?: string;
changelogHost?: string;
Expand Down Expand Up @@ -96,7 +95,6 @@ export abstract class BaseStrategy implements Strategy {
protected component?: string;
private packageName?: string;
readonly versioningStrategy: VersioningStrategy;
readonly prerelease?: boolean;
protected targetBranch: string;
protected repository: Repository;
protected changelogPath: string;
Expand Down Expand Up @@ -127,7 +125,6 @@ export abstract class BaseStrategy implements Strategy {
this.versioningStrategy =
options.versioningStrategy ||
new DefaultVersioningStrategy({logger: this.logger});
this.prerelease = options.prerelease;
this.targetBranch = options.targetBranch;
this.repository = options.github.repository;
this.changelogPath = options.changelogPath || DEFAULT_CHANGELOG_PATH;
Expand Down Expand Up @@ -680,7 +677,7 @@ export abstract class BaseStrategy implements Strategy {
return [];
}

isPublishedVersion(version: Version): boolean {
isPublishedVersion(_version: Version): boolean {
// todo: skip pre-releases
return true;
}
Expand Down

0 comments on commit af22aea

Please sign in to comment.