Skip to content

Commit

Permalink
chore: build without bumping on force-release (#338)
Browse files Browse the repository at this point in the history
Signed-off-by: team-tf-cdk <[email protected]>
Co-authored-by: team-tf-cdk <[email protected]>
  • Loading branch information
mutahhir and team-tf-cdk authored Aug 28, 2023
1 parent 3a1d096 commit 7c10328
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 92 deletions.
2 changes: 1 addition & 1 deletion src/force-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class ForceRelease {
name: "Install dependencies",
run: "yarn install --check-files --frozen-lockfile",
},
{ name: "force-release", run: "npx projen force-release" },
{ name: "build", run: "npx projen build" },
{
name: "Backup artifact permissions",
run: "cd dist && getfacl -R . > permissions-backup.acl",
Expand Down
7 changes: 0 additions & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,13 +380,6 @@ export class CdktfProviderProject extends cdk.JsiiProject {
new ShouldReleaseScriptFile(this, {});

const releaseTask = this.tasks.tryFind("release")!;
// Keep the original release task to be used by the force-release workflow
this.addTask("force-release", {
description: "Force a release",
steps: releaseTask.steps,
env: (releaseTask as any)._env,
});

this.removeTask("release");
this.addTask("release", {
description: releaseTask.description,
Expand Down
90 changes: 6 additions & 84 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 7c10328

Please sign in to comment.