Skip to content

Commit

Permalink
chore: remove unnecessary initialReleaseVersion override
Browse files Browse the repository at this point in the history
  • Loading branch information
dgellow committed Sep 8, 2023
1 parent 78096dc commit ed2bb96
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 28 deletions.
4 changes: 0 additions & 4 deletions src/strategies/go-yoshi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,6 @@ export class GoYoshi extends BaseStrategy {
);
return releaseNotes.replace(/, closes /g, ', refs ');
}

protected initialReleaseVersion(): Version {
return Version.parse('0.0.1');
}
}

function commitMatchesScope(commitScope: string, scope: string): boolean {
Expand Down
4 changes: 0 additions & 4 deletions src/strategies/java-yoshi-mono-repo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,6 @@ export class JavaYoshiMonoRepo extends Java {
}
return versionsMap;
}

protected initialReleaseVersion(): Version {
return Version.parse('0.0.1');
}
}

const VERSIONED_ARTIFACT_REGEX = /^.*-(v\d+[^-]*)$/;
Expand Down
4 changes: 0 additions & 4 deletions src/strategies/java-yoshi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,6 @@ export class JavaYoshi extends Java {
}
return versionsMap;
}

protected initialReleaseVersion(): Version {
return Version.parse('0.0.1');
}
}

const VERSIONED_ARTIFACT_REGEX = /^.*-(v\d+[^-]*)$/;
Expand Down
4 changes: 0 additions & 4 deletions src/strategies/krm-blueprint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,4 @@ export class KRMBlueprint extends BaseStrategy {
}
return updates;
}

protected initialReleaseVersion(): Version {
return Version.parse('0.0.1');
}
}
4 changes: 0 additions & 4 deletions src/strategies/python.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,4 @@ export class Python extends BaseStrategy {
}
}
}

protected initialReleaseVersion(): Version {
return Version.parse('0.0.1');
}
}
4 changes: 0 additions & 4 deletions src/strategies/rust.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,6 @@ export class Rust extends BaseStrategy {
return updates;
}

protected initialReleaseVersion(): Version {
return Version.parse('0.0.1');
}

async getDefaultPackageName(): Promise<string | undefined> {
const packageManifest = await this.getPackageManifest();
if (packageManifest) {
Expand Down
4 changes: 0 additions & 4 deletions src/strategies/terraform-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,4 @@ export class TerraformModule extends BaseStrategy {
});
return updates;
}

protected initialReleaseVersion(): Version {
return Version.parse('0.0.1');
}
}

0 comments on commit ed2bb96

Please sign in to comment.