Skip to content

Commit

Permalink
Merge branch 'sumughan/automate-k8s-release-step1' of https://github.…
Browse files Browse the repository at this point in the history
…com/cdk8s-team/cdk8s into sumughan/automate-k8s-release-step1
  • Loading branch information
sumupitchayan committed Sep 20, 2023
2 parents 9a09389 + 007c738 commit 9246648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/replace-old-version-references.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as path from 'path';

function replaceRefsInFile(filePath: string, toReplace: string, substitution: string) {
// references in the docs files for version XX appear in the following ways:
// cdk8s-plus-XX, cdk8s.plusXX, cdk8splusXX, CDK8s_PLUSXX_VERSION, cdk8s_plus28_version
// cdk8s-plus-XX, cdk8s.plusXX, cdk8splusXX, CDK8s_PLUSXX_VERSION, cdk8s_plusXX_version
// we must also replace references to outdated kubernetes versions. this shows up as:
// Kubernetes v1.XX.0
const referencePrefixes = ['plus-', 'plus', 'PLUS', 'Kubernetes v1.'];
Expand Down

0 comments on commit 9246648

Please sign in to comment.