Skip to content

Commit bf84478

Browse files
authored
chore: fix release workflow (#147)
Fixes #
1 parent 1790ceb commit bf84478

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.projen/tasks.json

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,9 @@ workflow?.on({
297297

298298
projenProject.packageTask.reset();
299299
projenProject.packageTask.exec(
300-
'rm -rf dist && cp node_modules/@aws-cdk/aws-service-spec/db.json.gz ./ && ncc build --external fsevents --source-map --license licenses.txt',
300+
'cp node_modules/@aws-cdk/aws-service-spec/db.json.gz ./ && ncc build --external fsevents --source-map --license licenses.txt',
301301
);
302302
workflow?.addJobs({ enableAutoMerge: autoMergeJob });
303+
304+
projenProject.preCompileTask.exec('rm -rf dist');
303305
project.synth();

0 commit comments

Comments
 (0)