Skip to content

fix: update prepare neutral release script#2523

Merged
amir-ba merged 1 commit into
telekom:mainfrom
amir-ba:fix/prepare-neutral-release
Jun 29, 2026
Merged

fix: update prepare neutral release script#2523
amir-ba merged 1 commit into
telekom:mainfrom
amir-ba:fix/prepare-neutral-release

Conversation

@amir-ba

@amir-ba amir-ba commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Updates the neutral release preparation script for the current replace-in-file API and makes the Angular neutral module rename synchronous so the command fails immediately on rename problems instead of continuing after logging an async error.

Copilot AI review requested due to automatic review settings June 29, 2026 23:05
@amir-ba
amir-ba requested a review from maomaoZH as a code owner June 29, 2026 23:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the neutral release preparation script to match the current replace-in-file API and to fail fast if the Angular neutral module rename fails, improving reliability of the release prep workflow.

Changes:

  • Switches from replace.sync(...) to replaceInFileSync(...) using the current replace-in-file API.
  • Makes the Angular module rename synchronous via fs.renameSync(...) so errors stop the script immediately.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@amir-ba
amir-ba merged commit 3c2a78e into telekom:main Jun 29, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants