mirror of
https://github.com/angular/angular.git
synced 2026-11-22 22:55:25 -05:00
build: format manifest files after updating its version
This commit run the formatter during the release.
This commit is contained in:
committed by
Alex Rickabaugh
parent
52aac81829
commit
d2ac93d5ca
@@ -279,6 +279,9 @@ async function updateManifests(newVersion: string): Promise<void> {
|
||||
await writeFile(manifestPath, JSON.stringify(manifest, null, 2) + '\n');
|
||||
console.log(`- Updated version for manifest in: ${manifestPath}`);
|
||||
}
|
||||
|
||||
await exec(`pnpm ng-dev format files ${manifestPaths.map((f) => `"${f}"`).join(' ')}`);
|
||||
|
||||
console.log(chalk.green('Manifest files updated successfully.'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user