From 2f247b79d9a8f33aa9f3dd4b3b3e764ce66b3a92 Mon Sep 17 00:00:00 2001 From: Pavel Dvorkin Date: Fri, 17 Oct 2025 11:47:36 -0400 Subject: [PATCH 1/4] Fix command to use newer changelog version --- .github/scripts/create-platform-release-pr.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/create-platform-release-pr.sh b/.github/scripts/create-platform-release-pr.sh index f0c68281..bdab4a92 100755 --- a/.github/scripts/create-platform-release-pr.sh +++ b/.github/scripts/create-platform-release-pr.sh @@ -350,8 +350,8 @@ create_changelog_pr() { echo "Generating changelog for extension via yarn auto-changelog.." 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.." - npx @metamask/auto-changelog@4.1.0 update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize + echo "Generating changelog for mobile via npx @metamask/auto-changelog@latest.." + npx @metamask/auto-changelog@latest update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize fi # Skip commits.csv for hotfix releases (previous_version_ref is literal "null") From 01816ce50735268e3c12a0d53df82cbdb0ec2937 Mon Sep 17 00:00:00 2001 From: Pavel Dvorkin Date: Fri, 17 Oct 2025 11:55:16 -0400 Subject: [PATCH 2/4] Fix command to use newer changelog version --- .github/scripts/create-platform-release-pr.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/create-platform-release-pr.sh b/.github/scripts/create-platform-release-pr.sh index bdab4a92..107ac148 100755 --- a/.github/scripts/create-platform-release-pr.sh +++ b/.github/scripts/create-platform-release-pr.sh @@ -350,8 +350,8 @@ create_changelog_pr() { echo "Generating changelog for extension via yarn auto-changelog.." 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@latest.." - npx @metamask/auto-changelog@latest update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize + echo "Generating changelog for mobile via npx @metamask/auto-changelog@5.1.0.." + npx @metamask/auto-changelog@5.1.0 update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize fi # Skip commits.csv for hotfix releases (previous_version_ref is literal "null") From 856e0b5e8749d48a6d143b56aee6e40ee52d013a Mon Sep 17 00:00:00 2001 From: Pavel Dvorkin Date: Mon, 20 Oct 2025 10:54:58 -0400 Subject: [PATCH 3/4] Testing run with yarn --- .github/scripts/create-platform-release-pr.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/create-platform-release-pr.sh b/.github/scripts/create-platform-release-pr.sh index 107ac148..67f9012d 100755 --- a/.github/scripts/create-platform-release-pr.sh +++ b/.github/scripts/create-platform-release-pr.sh @@ -350,8 +350,8 @@ create_changelog_pr() { echo "Generating changelog for extension via yarn auto-changelog.." 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@5.1.0.." - npx @metamask/auto-changelog@5.1.0 update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize + echo "Generating changelog for mobile via yarn auto-changelog.." + yarn auto-changelog update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize fi # Skip commits.csv for hotfix releases (previous_version_ref is literal "null") From 8c9c0dda8e0d5ff6e1fc9f4ba073ee587885b9e2 Mon Sep 17 00:00:00 2001 From: Pavel Dvorkin Date: Mon, 20 Oct 2025 11:24:22 -0400 Subject: [PATCH 4/4] Return to npx try a different fix attempt --- .github/scripts/create-platform-release-pr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/create-platform-release-pr.sh b/.github/scripts/create-platform-release-pr.sh index 67f9012d..d9250e80 100755 --- a/.github/scripts/create-platform-release-pr.sh +++ b/.github/scripts/create-platform-release-pr.sh @@ -351,7 +351,7 @@ create_changelog_pr() { yarn auto-changelog update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize --useChangelogEntry --useShortPrLink else echo "Generating changelog for mobile via yarn auto-changelog.." - yarn auto-changelog update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize + npx @metamask/auto-changelog@4.1.0 update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize fi # Skip commits.csv for hotfix releases (previous_version_ref is literal "null")