Skip to content

Fix command to use newer changelog version#144

Closed
XxdpavelxX wants to merge 4 commits into
mainfrom
FixChangelogCreateReleasePRBug
Closed

Fix command to use newer changelog version#144
XxdpavelxX wants to merge 4 commits into
mainfrom
FixChangelogCreateReleasePRBug

Conversation

@XxdpavelxX
Copy link
Copy Markdown
Contributor

@XxdpavelxX XxdpavelxX commented Oct 17, 2025

Fix for the following error.
error:

Checking for existing branch release/7.58.0-Changelog
Creating new branch release/7.58.0-Changelog
Switched to a new branch 'release/7.58.0-Changelog'
Branch release/7.58.0-Changelog ready
Generating changelog for mobile via npx @metamask/auto-changelog@4.1.0..
npm warn exec The following package was not found and will be installed: @metamask/auto-changelog@4.1.0
Error: Unrecognized line: '* fix: address feature flag config issue'
    at parseChangelog (/home/runner/.npm/_npx/6cfb3df63ccce84f/node_modules/@metamask/auto-changelog/dist/parse-changelog.js:147:19)
    at updateChangelog (/home/runner/.npm/_npx/6cfb3df63ccce84f/node_modules/@metamask/auto-changelog/dist/update-changelog.js:107:60)
    at update (/home/runner/.npm/_npx/6cfb3df63ccce84f/node_modules/@metamask/auto-changelog/dist/cli.js:91:78)
    at async main (/home/runner/.npm/_npx/6cfb3df63ccce84f/node_modules/@metamask/auto-changelog/dist/cli.js:368:9)
Error: Process completed with exit code 1.

Note

Updates the mobile changelog generation echo to reference yarn auto-changelog instead of npx.

Written by Cursor Bugbot for commit 8c9c0dd. This will update automatically on new commits. Configure here.

cursor[bot]

This comment was marked as outdated.

yarn auto-changelog update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize --useChangelogEntry --useShortPrLink
else
echo "Generating changelog for mobile via npx @metamask/auto-changelog@4.1.0.."
echo "Generating changelog for mobile via yarn auto-changelog.."
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: Changelog Script Uses Outdated Command

The script logs that it's generating the mobile changelog via yarn auto-changelog, but the actual command executed still uses npx @metamask/auto-changelog@4.1.0. This inconsistency means the intended fix for the problematic npx command was not fully applied, and the original error will likely persist.

Fix in Cursor Fix in Web

@XxdpavelxX XxdpavelxX closed this Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants