infra: enhance release process#1755
Conversation
✅ Deploy Preview for tarko ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for agent-tars-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1755 +/- ##
=======================================
Coverage 14.27% 14.27%
=======================================
Files 250 250
Lines 8565 8565
Branches 1674 1674
=======================================
Hits 1223 1223
Misses 7166 7166
Partials 176 176 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
90e5fc9 to
3d4222c
Compare
| existingContent === '# Changelog\n' || | ||
| !existingContent.includes('# Changelog') | ||
| ) { | ||
| writeFileSync(changelogPath, `# Changelog\n\n${changelogContent}`, 'utf-8'); |
Check failure
Code scanning / CodeQL
Potential file system race condition High
| `# Changelog\n\n${changelogContent}`, | ||
| ); | ||
|
|
||
| writeFileSync(changelogPath, updatedContent, 'utf-8'); |
Check failure
Code scanning / CodeQL
Potential file system race condition High
|
|
||
| logger.info(`Running build script: ${buildScript}`); | ||
| const [command, ...args] = buildScript.split(' '); | ||
| await execa(command, args, { |
Check warning
Code scanning / CodeQL
Unsafe shell command constructed from library input Medium
0afba8b to
598a6df
Compare
598a6df to
649991e
Compare
Summary
This PR brings the following optimizations to the release process-related scripts:
workspace:*dependencies was replaced to released version, the actual replacement did not succeed due to concurrency timing issues in some corner cases.pnpm-dev-kitpackage, suitable for releases in other sub projects.Checklist