Skip to content

Commit

Permalink
chore: remove should-release logic for deprecated providers
Browse files Browse the repository at this point in the history
  • Loading branch information
xiehan committed Dec 14, 2023
1 parent 8d6bd59 commit 2e83297
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export class CdktfProviderProject extends cdk.JsiiProject {
description: releaseTask.description,
steps: releaseTask.steps,
env: (releaseTask as any)._env,
condition: "node ./scripts/should-release.js",
condition: !isDeprecated ? "node ./scripts/should-release.js" : undefined,
});

const releaseJobSteps: any[] = (
Expand Down
3 changes: 1 addition & 2 deletions test/__snapshots__/index.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2e83297

Please sign in to comment.