Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Test changelog automation MetaMask/auto-changelog#247
  • Loading branch information
XxdpavelxX committed Sep 10, 2025
commit 65c9c9e8b1caa0ba1f89e5b30a048f117bea13e8
2 changes: 1 addition & 1 deletion .github/scripts/create-platform-release-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ create_changelog_pr() {

# Generate Changelog and Test Plan
echo "Generating changelog via auto-changelog.."
npx github:MetaMask/auto-changelog#parse-changelog-entry-adjustments update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize --useChangelogEntry --useShortPrLink
npx @metamask/auto-changelog update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize --useChangelogEntry --useShortPrLink

# Skip commits.csv for hotfix releases (previous_version_ref is literal "null")
# - When we create a new major/minor release, we fetch all commits included in the release, by fetching the diff between HEAD and previous version reference.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"update-release-sheet": "node .github/scripts/update-release-sheet.mjs"
},
"dependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@metamask/auto-changelog": "github:MetaMask/auto-changelog#parse-changelog-entry-adjustments",
Copy link

Choose a reason for hiding this comment

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

Bug: Prettier Version Conflict Causes Runtime Errors

The updated @metamask/auto-changelog (from a GitHub branch) requires prettier >= 3.0.0 as a peer dependency. The project uses prettier 2.x, which is incompatible and may cause runtime errors when auto-changelog uses prettier functionality.

Fix in Cursor Fix in Web

"@metamask/utils": "^7.1.0",
"@octokit/graphql": "^7.0.1",
"@octokit/request": "^8.1.1",
Expand Down
Loading