diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ea7ff1507..c1a12dde39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ This is the log of notable changes to EAS CLI and related packages. ### ๐Ÿ› Bug fixes +- Fix command source files URLs in autogenerated `README`. ([#2318](https://github.com/expo/eas-cli/pull/2318) by [@szdziedzic](https://github.com/szdziedzic)) + ### ๐Ÿงน Chores - Upgrade [`eas-build`](https://github.com/expo/eas-build) dependencies. ([#2316](https://github.com/expo/eas-cli/pull/2316) by [@expo-bot](https://github.com/expo-bot)) diff --git a/packages/eas-cli/scripts/patch-readme.js b/packages/eas-cli/scripts/patch-readme.js index 80f222fa82..de567bee77 100644 --- a/packages/eas-cli/scripts/patch-readme.js +++ b/packages/eas-cli/scripts/patch-readme.js @@ -3,8 +3,7 @@ const fs = require('fs/promises'); (async () => { // Patch `oclif readme` path and link generation let readmeContent = await fs.readFile('README.md', 'utf8'); - readmeContent = readmeContent.replace(/\[build\//g, '[src/'); - readmeContent = readmeContent.replace(/build\/commands/g, 'packages/eas-cli/src/commands'); + readmeContent = readmeContent.replace(/src\/commands/g, 'packages/eas-cli/src/commands'); await fs.writeFile('README.md', readmeContent); // eslint-disable-next-line no-console