diff --git a/.github/scripts/create-platform-release-pr.sh b/.github/scripts/create-platform-release-pr.sh index 300261f0..1307f8e1 100755 --- a/.github/scripts/create-platform-release-pr.sh +++ b/.github/scripts/create-platform-release-pr.sh @@ -346,13 +346,9 @@ create_changelog_pr() { checkout_or_create_branch "${changelog_branch_name}" # Generate Changelog and Test Plan - if [ "$platform" = "extension" ]; then - 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 - fi + echo "Generating changelog for ${platform}.." + yarn 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. diff --git a/.github/workflows/update-release-changelog.yml b/.github/workflows/update-release-changelog.yml index 8bf58f8d..bc76cda4 100644 --- a/.github/workflows/update-release-changelog.yml +++ b/.github/workflows/update-release-changelog.yml @@ -79,4 +79,3 @@ jobs: "${{ inputs.platform }}" \ "${{ inputs.repository-url }}" \ "${{ inputs.previous-version-ref }}" -